]> git.ipfire.org Git - people/jschlag/pbs.git/commitdiff
Force building constants.py early in the build process
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 8 Oct 2017 11:26:22 +0000 (12:26 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 8 Oct 2017 11:27:06 +0000 (12:27 +0100)
For some reason, this is not being generated when running
"make all".

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Makefile.am

index 4ad91a17f8be0691e0694d1d345ef88173c9731c..4f0ea3f8064784c95e8523b7eeff4910cdceae43 100644 (file)
@@ -34,6 +34,7 @@ pythondir  = $(pyexecdir)/pakfire
 
 configsdir = $(sysconfdir)/pakfire
 
+BUILT_SOURCES =
 CLEANFILES =
 DISTCLEANFILES =
 EXTRA_DIST =
@@ -104,6 +105,9 @@ buildservice_PYTHON = \
 
 buildservicedir = $(pythondir)/buildservice
 
+BUILT_SOURCES += \
+       src/buildservice/constants.py
+
 EXTRA_DIST += \
        src/buildservice/constants.py.in