blob: fdc06369c556c1c1304b22eef3aaa4724bbe56eb (
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
|
xsltdir = $(pkgdatadir)/xslt/@VERSION@
dist_xslt_DATA = \
bibliography.xsl \
bibtex.xsl \
latex.xsl
include %reldir%/latex/Makefile.am
pkgdata_DATA = catalog
bin_SCRIPTS = h4sp-catalog-file
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 $@
h4sp-catalog-file: Makefile
$(AM_V_GEN) (echo "#!/bin/sh" ; echo "echo '$(pkgdatadir)'") > $@-t
chmod ugo+x $@-t
mv $@-t $@
|