- Renamed paper_calendar_dates to paper-calendar-dates to be consistent.
1 parent 4c70132 commit 442c904778f8a15f4583ee2504fc7b820031c73f
nstanger authored on 14 Jun 2012
Showing 2 changed files
View
10
Makefile
 
MODULES:=$(shell $(FIND) modules -type f -name "*.xml" )
 
 
all: xml2html.xsl xml2xhtml.xsl xml2latex.xsl xml2xelatex.xsl oracle-docs.xsl modules/paper_calendar_dates.xml
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 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 modules/paper_calendar_dates.xml 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=%))) > $@
 
 
format-master.xml: modules/paper_calendar_dates.xml
format-master.xml: modules/paper-calendar-dates.xml
 
 
modules/paper_calendar_dates.xml: generate_calendar_dates.php
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 modules/paper_calendar_dates.xml
rm -f xml2html.xsl xml2xhtml.xsl xml2latex.xsl xml2xelatex.xsl oracle-docs.xsl modules/paper-calendar-dates.xml
View
2
■■■
format-master.xml
<!-- Paper calendar and teaching dates. -->
<!--
<include href="modules/paper_calendar.xml" />
-->
<include href="modules/paper_calendar_dates.xml" />
<include href="modules/paper-calendar-dates.xml" />
 
</stylesheet>