It seems that abs_top_srcdir is not a good option, so I tested again
with just using the same as in doc/examples/bash_completion.
---
 this passes both make distcheck and buildbot.

 Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index a269097..62e259d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -819,7 +819,7 @@ htools/Ganeti/HTools/Version.hs: 
htools/Ganeti/HTools/Version.hs.in vcs-version
 htools/Ganeti/Constants.hs: htools/Ganeti/Constants.hs.in \
        lib/constants.py lib/_autoconf.py $(CONVERT_CONSTANTS)
        set -e; \
-       { cat $< ; PYTHONPATH=$(abs_top_srcdir) $(CONVERT_CONSTANTS); } > $@
+       { cat $< ; PYTHONPATH=. $(CONVERT_CONSTANTS); } > $@
 
 lib/_autoconf.py: Makefile vcs-version | lib/.dir
        set -e; \
-- 
1.7.3.1

Reply via email to