summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2009-04-17 15:47:43 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2009-04-20 11:48:20 +0100
commita9f2880b44c43924fe5e2b6024bc47a2a228bbae (patch)
tree0e05068e0886ecc4ac1fb0bfb8a9fbc0ff9ca364
parent24fb692085cc00158c9a2528db263330cada23bd (diff)
libmcclient/Makefile.am, src/Makefile.am: regenerate merged XML if any interfaces change
Reviewed-by: Alberto Mardegan <alberto.mardegan@nokia.com>
-rw-r--r--libmcclient/Makefile.am2
-rw-r--r--src/Makefile.am2
2 files changed, 2 insertions, 2 deletions
diff --git a/libmcclient/Makefile.am b/libmcclient/Makefile.am
index c7d737d7..f4202cf1 100644
--- a/libmcclient/Makefile.am
+++ b/libmcclient/Makefile.am
@@ -166,7 +166,7 @@ _gen/interfaces-body.h: _gen/all.xml \
# (Currently the only "class" is nmc4, but the new API will need "classes"
# like account, account-manager, ...)
-_gen/%.xml: %.xml
+_gen/%.xml: %.xml $(wildcard $(top_srcdir)/xml/*.xml)
$(mkdir_p) _gen
$(XSLTPROC) $(XSLTPROCFLAGS) --xinclude $(tools_dir)/identity.xsl \
$< > $@
diff --git a/src/Makefile.am b/src/Makefile.am
index 680c1987..930a620a 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -269,7 +269,7 @@ _gen/%.xml: $(top_srcdir)/xml/%.xml $(wildcard $(top_srcdir)/xml/*.xml)
$(XSLTPROC) $(XSLTPROCFLAGS) --xinclude $(tools_dir)/identity.xsl \
$< > $@
-_gen/%.xml: %.xml
+_gen/%.xml: %.xml $(wildcard $(top_srcdir)/xml/*.xml)
$(mkdir_p) _gen
$(XSLTPROC) $(XSLTPROCFLAGS) --xinclude $(tools_dir)/identity.xsl \
$< > $@