Revision d99d1e36 Makefile.am
b/Makefile.am | ||
---|---|---|
21 | 21 |
CHECK_NEWS = $(top_srcdir)/autotools/check-news |
22 | 22 |
DOCPP = $(top_srcdir)/autotools/docpp |
23 | 23 |
REPLACE_VARS_SED = autotools/replace_vars.sed |
24 |
CONVERT_CONSTANTS = $(top_srcdir)/autotools/convert-constants |
|
24 | 25 |
|
25 | 26 |
# Note: these are automake-specific variables, and must be named after |
26 | 27 |
# the directory + 'dir' suffix |
... | ... | |
337 | 338 |
htools/Ganeti/Luxi.hs \ |
338 | 339 |
htools/Ganeti/OpCodes.hs |
339 | 340 |
|
340 |
HS_BUILT_SRCS = htools/Ganeti/HTools/Version.hs |
|
341 |
HS_BUILT_SRCS = htools/Ganeti/HTools/Version.hs htools/Ganeti/Constants.hs
|
|
341 | 342 |
HS_BUILT_SRCS_IN = $(patsubst %,%.in,$(HS_BUILT_SRCS)) |
342 | 343 |
|
343 | 344 |
$(RUN_IN_TEMPDIR): | $(all_dirfiles) |
... | ... | |
508 | 509 |
autotools/check-news \ |
509 | 510 |
autotools/check-tar \ |
510 | 511 |
autotools/check-version \ |
512 |
autotools/convert-constants \ |
|
511 | 513 |
autotools/docpp \ |
512 | 514 |
autotools/gen-coverage \ |
513 | 515 |
autotools/testrunner \ |
... | ... | |
814 | 816 |
VCSVER=`cat $(abs_top_srcdir)/vcs-version`; \ |
815 | 817 |
sed -e "s/%ver%/$$VCSVER/" < $< > $@ |
816 | 818 |
|
819 |
htools/Ganeti/Constants.hs: htools/Ganeti/Constants.hs.in \ |
|
820 |
lib/constants.py lib/_autoconf.py $(CONVERT_CONSTANTS) |
|
821 |
set -e; { cat $< ; $(CONVERT_CONSTANTS); } > $@ |
|
822 |
|
|
817 | 823 |
lib/_autoconf.py: Makefile vcs-version | lib/.dir |
818 | 824 |
set -e; \ |
819 | 825 |
VCSVER=`cat $(abs_top_srcdir)/vcs-version`; \ |
Also available in: Unified diff