1 XSLTPROC = xsltproc --timing
2 FORMAT = xmllint --format
4 METASTYLESHEET = meta_cic2mathml.xsl
8 all: algebra.xsl arith.xsl basic.xsl reals.xsl set.xsl
11 rm -f algebra.xsl arith.xsl basic.xsl reals.xsl set.xsl
13 algebra.xsl: algebra.xml $(METASTYLESHEET)
14 @echo "**** PROCESSING algebra.xml ****"
15 @$(XSLTPROC) $(METASTYLESHEET) algebra.xml > $(TMP1)
16 @$(FORMAT) $(TMP1) > $(TMP2)
17 @mv $(TMP2) algebra.xsl
19 @$(SUBST) oxsl: xsl: algebra.xsl
20 @$(SUBST) xmlns:oxsl xmlns:xsl algebra.xsl
22 arith.xsl: arith.xml $(METASTYLESHEET)
23 @echo "**** PROCESSING arith.xml ****"
24 @$(XSLTPROC) $(METASTYLESHEET) arith.xml > $(TMP1)
25 @$(FORMAT) $(TMP1) > $(TMP2)
28 @$(SUBST) oxsl: xsl: arith.xsl
29 @$(SUBST) xmlns:oxsl xmlns:xsl arith.xsl
31 basic.xsl: basic.xml $(METASTYLESHEET)
32 @echo "**** PROCESSING basic.xml ****"
33 @$(XSLTPROC) $(METASTYLESHEET) basic.xml > $(TMP1)
34 @$(FORMAT) $(TMP1) > $(TMP2)
37 @$(SUBST) oxsl: xsl: basic.xsl
38 @$(SUBST) xmlns:oxsl xmlns:xsl basic.xsl
40 reals.xsl: reals.xml $(METASTYLESHEET)
41 @echo "**** PROCESSING reals.xml ****"
42 @$(XSLTPROC) $(METASTYLESHEET) reals.xml > $(TMP1)
43 @$(FORMAT) $(TMP1) > $(TMP2)
46 @$(SUBST) oxsl: xsl: reals.xsl
47 @$(SUBST) xmlns:oxsl xmlns:xsl reals.xsl
49 set.xsl: set.xml $(METASTYLESHEET)
50 @echo "**** PROCESSING set.xml ****"
51 @$(XSLTPROC) $(METASTYLESHEET) set.xml > $(TMP1)
52 @$(FORMAT) $(TMP1) > $(TMP2)
55 @$(SUBST) oxsl: xsl: set.xsl
56 @$(SUBST) xmlns:oxsl xmlns:xsl set.xsl