summaryrefslogtreecommitdiff
path: root/Build/cdbuild/tpm2/Makefile
blob: fc0f7b44d1fb2c9350c7bc8b97720631bb6a1af4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
run: run1 run2

run1:
	for i in `ls /texlive/Master/texmf-dist/tpm/package/*tpm /texlive/Master/texmf-package/tpm/binary/*tpm `; do xsltproc -o `basename $$i .tpm`.xml tpm2xml.xsl $$i; done

run2:
	for i in \
	abc2mtex \
	adfathesis \
	afthesis \
	arabtex \
	askinclude \
	auctex \
	biblio-perl \
	catdoc \
	catdvi \
	cmactex \
	dvi2bitmap \
	dvi2tty \
	dviconcat \
	dvicopy \
	dviout \
	dvips \
	eco \
	emtex \
	fbithesis \
	floatfig \
	foiltex \
	fptex \
	gentl-gr \
	gnuplot \
	gsview \
	javascript-texed \
	jdvi \
	jkthesis \
	jpeg2ps \
	labelmag \
	latable \
	latexdraw \
	latexwide \
	llncs \
	lollipop \
	malvern \
	miktex \
	mnras \
	muthesis \
	oztex \
	pitthesis \
	pstoedit \
	revtex \
	scientificviewer \
	svjour \
	taylor \
	techexplorer \
	texaide \
	texdoctk \
	texniccenter \
	texshell32 \
	texsis \
	text1 \
	textmerg \
	thesis \
	tmview \
	transfig \
	ttf2mf \
	ttf2pk \
	tth \
	ucthesis \
	ut-thesis \
	utorontothesis \
	utthesis \
	uwthesis \
	vfinst \
	vicentino \
	vtex \
	winedt \
	winlatex \
	winshell \
	wmf2eps \
	wp2latex \
	xdvik \
	xfig \
	xtexcad \
	; do xsltproc -o $$i.xml xml2xml.xsl /texlive/Master/texmf-dist/doc/html/catalogue/entries/$$i.xml; done

allvalid:
	echo "<TPMS>" > tmp.xml
	(for i in *.xml; do echo "<xs:include xmlns:xs=\"http://www.w3.org/2001/XInclude\" href=\"$$i\"/>"; done) |grep -v cats.xml | grep -v tmp.xml | grep -v all.xml >> tmp.xml
	echo "</TPMS>" >> tmp.xml
	xmllint --xinclude tmp.xml > all.xml
	rm tmp.xml
	xmllint --noout --relaxng tpm2.rng all.xml

valid:
	for i in `ls *.xml | grep -v cats.xml | grep -v all.xml`; do rxp -V -s $$i;done


clean:
	-rm *.xml