diff --git a/Makefile.am b/Makefile.am
index 4da1ae32ebe411ab8404d6c100e6f75125c19948..f5e418b6f2e9bd1fd9244f400eec0109607ac7f6 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1057,7 +1057,8 @@ htools/Ganeti/HTools/Version.hs: htools/Ganeti/HTools/Version.hs.in vcs-version
 	sed -e "s/%ver%/$$VCSVER/" < $< > $@
 
 htools/Ganeti/Constants.hs: htools/Ganeti/Constants.hs.in \
-	lib/constants.py lib/_autoconf.py $(CONVERT_CONSTANTS) \
+	lib/constants.py lib/_autoconf.py lib/luxi.py \
+	$(CONVERT_CONSTANTS) \
 	| lib/_vcsversion.py
 	set -e; \
 	{ cat $< ; PYTHONPATH=. $(CONVERT_CONSTANTS); } > $@