- Corrected the dependencies for the calendar dates module.
1 parent 3f69359 commit e949c3256b7f9c2f1b34d5924700bcc35c056a57
nstanger authored on 13 Jun 2012
Showing 1 changed file
View
16
Makefile
 
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
# <html> 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 $< > $@
 
 
oracle-docs.xsl: oracle-docs.perl
perl $< '.*' xslt > $@
 
 
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