summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2006-10-23 11:22:15 +0000
committerMarc-André Lureau <marcandre.lureau@gmail.com>2009-02-13 00:01:35 +0200
commit4d0e3d0e360abba9531741438bfebbd0c940c8a9 (patch)
treef345d835306c03ee3c73045a6766c55219dbdc19 /Makefile
parent734da8ea5866bab66a914633ef11685b952504b8 (diff)
Generate constants from spec
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 20e6fe3..7a0a00d 100644
--- a/Makefile
+++ b/Makefile
@@ -13,12 +13,19 @@ GENERATED_FILES = \
telepathy/_generated/interfaces.py \
telepathy/_generated/__init__.py \
telepathy/_generated/errors.py \
+ telepathy/_generated/constants.py \
$(INTERFACE_PY) $(INTROSPECT)
doc/spec.html: $(filter-out spec/_Test.xml,$(wildcard spec/*.xml)) tools/doc-generator.xsl
$(XSLTPROC) tools/doc-generator.xsl spec/all.xml > $@
$(XSLTPROC) tools/doc-generator.xsl spec/all_test.xml > test/spec.html
+telepathy/_generated/constants.py: $(wildcard spec/*.xml) tools/python-constants-generator.xsl
+ install -d telepathy/_generated
+ $(XSLTPROC) tools/python-constants-generator.xsl spec/all.xml > $@
+#test/interfaces.py: $(wildcard spec/*.xml) tools/python-interfaces-generator.xsl
+# $(XSLTPROC) tools/python-interfaces-generator.xsl spec/all_test.xml > test/interfaces.py
+
telepathy/_generated/interfaces.py: $(wildcard spec/*.xml) tools/python-interfaces-generator.xsl
install -d telepathy/_generated
$(XSLTPROC) tools/python-interfaces-generator.xsl spec/all.xml > $@