diff --git a/make-includes/build_misc_rules.make b/make-includes/build_misc_rules.make index b0b82cf..08eafa7 100755 --- a/make-includes/build_misc_rules.make +++ b/make-includes/build_misc_rules.make @@ -221,7 +221,7 @@ # is that all input source files have an processing instruction # (which they should anyway). # -$(DERIVED_XML): $(SOURCE_XML) $(XSLT_STYLESHEETS) +$(DERIVED_XML): %-derived.xml: %.xml $(XSLT_STYLESHEETS) xmllint --xinclude $< >$@ @sed -i -e '1a ' $@