summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: 48764841af9502d0d885723525cf4c33b9e2c7fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
xsltdir = $(pkgdatadir)/xslt/@VERSION@

dist_xslt_DATA = \
  bibliography.xsl \
  bibtex.xsl \
  latex.xsl

include %reldir%/latex/Makefile.am

pkgdata_DATA = catalog

catalog: Makefile
	$(AM_V_GEN) (echo '<?xml version="1.0" encoding="UTF-8"?>' ; \
	             echo '<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">' ; \
	             printf '<rewriteURI uriStartString="http://h4sp.planete-kraus.eu/transform" rewritePrefix="file://%s"/>\n' $(xsltdir) ; \
	             echo '</catalog>' \
	            ) > $@-t
	mv $@-t $@