summaryrefslogtreecommitdiff
path: root/masterdb/Makefile.am
blob: 21548453bb5c11759682cdb7d7fbef0e2ee3aa8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

master_PRE = masterdb.xml
sgmldbs_DATA =				\
	$(master_PRE:xml=html.xml)	\
	$(master_PRE:xml=pdf.xml)

EXTRA_DIST = $(master_PRE)
CLEANFILES = $(sgmldbs_DATA)

%.html.xml: %.xml
	$(AM_V_GEN)$(SED) \
	-e 's|@db@|html|g' \
	-e 's|@datarootdir[@]|$(datarootdir)|g' < $< > $@

%.pdf.xml: %.xml
	$(AM_V_GEN)$(SED) \
	-e 's|@db@|pdf|g' \
	-e 's|@datarootdir[@]|$(datarootdir)|g' < $< > $@