[telepathy-mission-control/master] libmcclient/Makefile.am, src/Makefile.am: regenerate merged XML if any interfaces change

Simon McVittie simon.mcvittie at collabora.co.uk
Fri Apr 17 07:47:43 PDT 2009


Reviewed-by: Alberto Mardegan <alberto.mardegan at nokia.com>
---
 libmcclient/Makefile.am |    2 +-
 src/Makefile.am         |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libmcclient/Makefile.am b/libmcclient/Makefile.am
index c7d737d..f4202cf 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 680c198..930a620 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 \
 		$< > $@
-- 
1.5.6.5



More information about the telepathy-commits mailing list