Yet another attempt to fix builds
authorIustin Pop <iustin@google.com>
Wed, 25 May 2011 08:54:34 +0000 (10:54 +0200)
committerIustin Pop <iustin@google.com>
Wed, 25 May 2011 09:29:05 +0000 (11:29 +0200)
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.

Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: RenĂ© Nussbaumer <rn@google.com>

Makefile.am

index a269097..62e259d 100644 (file)
@@ -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; \