fence-agents: master - fence: fix make distcheck build out of tree

Fabio M. Di Nitto fabbione at fedoraproject.org
Tue Apr 20 13:25:07 UTC 2010


Gitweb:        http://git.fedorahosted.org/git/fence-agents.git?p=fence-agents.git;a=commitdiff;h=3b302d1306320c2709d9feaebe37535d37fbddfe
Commit:        3b302d1306320c2709d9feaebe37535d37fbddfe
Parent:        9d7745c86de6c22e98ada07b1f3fdcd414eb0935
Author:        Fabio M. Di Nitto <fdinitto at redhat.com>
AuthorDate:    Tue Apr 20 14:59:42 2010 +0200
Committer:     Fabio M. Di Nitto <fdinitto at redhat.com>
CommitterDate: Tue Apr 20 14:59:42 2010 +0200

fence: fix make distcheck build out of tree

Signed-off-by: Fabio M. Di Nitto <fdinitto at redhat.com>
---
 make/fenceman.mk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/make/fenceman.mk b/make/fenceman.mk
index 410d6cb..5da0a3a 100644
--- a/make/fenceman.mk
+++ b/make/fenceman.mk
@@ -1,6 +1,6 @@
 %.8: $(TARGET) $(top_srcdir)/fence/agents/lib/fence2man.xsl
 	set -e && \
-	PYTHONPATH=$(top_srcdir)/fence/agents/lib \
+	PYTHONPATH=$(top_srcdir)/fence/agents/lib:$(top_builddir)/fence/agents/lib \
 		python $^ -o metadata > .$@.tmp && \
 	xsltproc $(top_srcdir)/fence/agents/lib/fence2man.xsl .$@.tmp > $@
 


More information about the cluster-commits mailing list