diff --git a/Makefile b/Makefile index e72cad7..2b7f6d6 100755 --- a/Makefile +++ b/Makefile @@ -53,20 +53,23 @@ MODULES:=$(shell $(FIND) modules -type f -name "*.xml" ) -all: xml2html.xsl xml2xhtml.xsl xml2latex.xsl xml2xelatex.xsl oracle-docs.xsl calendar_dates.xsl +all: xml2html.xsl xml2xhtml.xsl xml2latex.xsl xml2xelatex.xsl oracle-docs.xsl modules/paper_calendar_dates.xml -xml2html.xsl xml2latex.xsl xml2xelatex.xsl: format-master.xml $(MODULES) xml2xslt.xsl oracle-docs.xsl calendar_dates.xsl Makefile +xml2html.xsl xml2latex.xsl xml2xelatex.xsl: format-master.xml $(MODULES) xml2xslt.xsl oracle-docs.xsl Makefile $(call xslt,$<,xml2xslt.xsl,$(call xslt_parameter,target-format,$(@:xml2%.xsl=%))) > $@ # Since it seems impossible in XSLT to generate an xmlns attribute for the # element, we have to add the attribute after the fact :(. -xml2xhtml.xsl: format-master.xml $(MODULES) xml2xslt.xsl oracle-docs.xsl Makefile +xml2xhtml.xsl: format-master.xml $(MODULES) xml2xslt.xsl oracle-docs.xsl modules/paper_calendar_dates.xml Makefile $(call xslt,$<,xml2xslt.xsl,$(call xslt_parameter,target-format,$(@:xml2%.xsl=%))) > $@ -calendar_dates.xsl: generate_calendar_dates.php +format-master.xml: modules/paper_calendar_dates.xml + + +modules/paper_calendar_dates.xml: generate_calendar_dates.php php $< > $@ @@ -75,4 +78,4 @@ clean: - rm -f xml2html.xsl xml2xhtml.xsl xml2latex.xsl xml2xelatex.xsl oracle-docs.xsl + rm -f xml2html.xsl xml2xhtml.xsl xml2latex.xsl xml2xelatex.xsl oracle-docs.xsl modules/paper_calendar_dates.xml