diff --git a/Makefile.am b/Makefile.am index 78cefde16ace3118eff7d3d794a575495c7f5938..a269097c3def2a04b3a8da5f7a507da5f24fac55 100644 --- a/Makefile.am +++ b/Makefile.am @@ -818,7 +818,8 @@ 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 $< ; $(CONVERT_CONSTANTS); } > $@ + set -e; \ + { cat $< ; PYTHONPATH=$(abs_top_srcdir) $(CONVERT_CONSTANTS); } > $@ lib/_autoconf.py: Makefile vcs-version | lib/.dir set -e; \