diff options
author | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2009-08-04 10:31:46 +0100 |
---|---|---|
committer | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2009-08-25 19:00:33 +0100 |
commit | 3cb3bd3df2ee9ed8f7c78174d6810a55d6609a14 (patch) | |
tree | 3281691becedca3196a69b2e2cf80da99b3db9da /src | |
parent | 6e297a8c12d6d10acff7a39d05cbe2abdebd9a47 (diff) |
Add dependencies for codegen rules.
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index c9003f1..fb15ff7 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -39,17 +39,17 @@ distclean-local: XSLTPROC_OPTS = --nonet --novalid --xinclude tools_dir = $(top_srcdir)/tools -_generated/interfaces.py: +_generated/interfaces.py: $(tools_dir)/python-interfaces-generator.xsl $(wildcard $(spec_dir)/*.xml) $(XSLTPROC) $(XSLTPROC_OPTS) -o $@ \ $(tools_dir)/python-interfaces-generator.xsl \ $(spec_dir)/all.xml -_generated/constants.py: +_generated/constants.py: $(tools_dir)/python-constants-generator.xsl $(wildcard $(spec_dir)/*.xml) $(XSLTPROC) $(XSLTPROC_OPTS) -o $@ \ $(tools_dir)/python-constants-generator.xsl \ $(spec_dir)/all.xml -_generated/errors.py: +_generated/errors.py: $(tools_dir)/python-errors-generator.xsl $(wildcard $(spec_dir)/*.xml) $(XSLTPROC) $(XSLTPROC_OPTS) -o $@ \ $(tools_dir)/python-errors-generator.xsl \ $(spec_dir)/all.xml @@ -57,7 +57,7 @@ _generated/errors.py: _generated/__init__.py: echo "# Placeholder for package" > $@ -_generated/%.py: +_generated/%.py: $(tools_dir)/spec-to-python.xsl $(spec_dir)/%.xml $(XSLTPROC) $(XSLTPROC_OPTS) -o $@ \ $(tools_dir)/spec-to-python.xsl \ $(spec_dir)/$*.xml |