From 876f6a5e3a73716124363982da9da37659dd22be Mon Sep 17 00:00:00 2001
From: Iustin Pop <iustin@google.com>
Date: Wed, 25 May 2011 10:54:34 +0200
Subject: [PATCH] Yet another attempt to fix builds
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am
index a269097c3..62e259de1 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; \
-- 
GitLab