Revision 74e15780 Makefile.am
b/Makefile.am | ||
---|---|---|
36 | 36 |
CHECK_IMPORTS = $(top_srcdir)/autotools/check-imports |
37 | 37 |
DOCPP = $(top_srcdir)/autotools/docpp |
38 | 38 |
REPLACE_VARS_SED = autotools/replace_vars.sed |
39 |
CONVERT_CONSTANTS = $(top_srcdir)/autotools/convert-constants |
|
40 | 39 |
PRINT_PY_CONSTANTS = $(top_srcdir)/autotools/print-py-constants |
41 | 40 |
BUILD_RPC = $(top_srcdir)/autotools/build-rpc |
42 | 41 |
SHELL_ENV_INIT = autotools/shell-env-init |
... | ... | |
780 | 779 |
test/hs/Test/Ganeti/TestImports.hs \ |
781 | 780 |
src/AutoConf.hs \ |
782 | 781 |
src/Ganeti/Hs2Py/ListConstants.hs \ |
783 |
src/Ganeti/PyConstants.hs \ |
|
784 | 782 |
src/Ganeti/Curl/Internal.hs \ |
785 | 783 |
src/Ganeti/Version.hs |
786 | 784 |
HS_BUILT_SRCS_IN = \ |
... | ... | |
1134 | 1132 |
autotools/check-python-code \ |
1135 | 1133 |
autotools/check-tar \ |
1136 | 1134 |
autotools/check-version \ |
1137 |
autotools/convert-constants \ |
|
1138 | 1135 |
autotools/docpp \ |
1139 | 1136 |
autotools/gen-py-coverage \ |
1140 | 1137 |
autotools/print-py-constants \ |
... | ... | |
1756 | 1753 |
sed -n -e "/=/ s/\(.*\) =.*/ '\1:/g p"); \ |
1757 | 1754 |
m4 -DPY_CONSTANT_NAMES="$$NAMES" $(abs_top_srcdir)/$< > $@ |
1758 | 1755 |
|
1759 |
src/Ganeti/PyConstants.hs: src/Ganeti/PyConstants.hs.in \ |
|
1760 |
lib/constants.py lib/luxi.py lib/errors.py \ |
|
1761 |
lib/jstore.py $(RUN_IN_TEMPDIR) \ |
|
1762 |
$(CONVERT_CONSTANTS) $(built_base_sources) \ |
|
1763 |
| lib/_vcsversion.py |
|
1764 |
set -e; \ |
|
1765 |
{ cat $< ; \ |
|
1766 |
PYTHONPATH=. $(RUN_IN_TEMPDIR) $(CURDIR)/$(CONVERT_CONSTANTS); \ |
|
1767 |
} > $@ |
|
1768 |
|
|
1769 | 1756 |
src/Ganeti/Curl/Internal.hs: src/Ganeti/Curl/Internal.hsc | stamp-directories |
1770 | 1757 |
hsc2hs -o $@ $< |
1771 | 1758 |
|
... | ... | |
1877 | 1864 |
echo "VCS_VERSION = '$$VCSVER'"; \ |
1878 | 1865 |
} > $@ |
1879 | 1866 |
|
1880 |
lib/opcodes.py: Makefile src/hs2py src/Ganeti/PyConstants.hs \
|
|
1867 |
lib/opcodes.py: Makefile src/hs2py src/Ganeti/Constants.hs \ |
|
1881 | 1868 |
lib/opcodes.py.in_before lib/opcodes.py.in_after \ |
1882 | 1869 |
| stamp-directories |
1883 | 1870 |
cat $(abs_top_srcdir)/lib/opcodes.py.in_before > $@ |
Also available in: Unified diff