summaryrefslogtreecommitdiff
path: root/masterdb/Makefile.am
blob: b967d682c725be5ea86e15b6f08f78ebbcc1f485 (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

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

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

%.html.xml: %.xml
	$(AM_V_GEN)$(SED) -e 's|__ext__|html|g' \
	-e 's|__db__|html|g' < $< > $@

%.txt.xml: %.xml
	$(AM_V_GEN)$(SED) -e 's|__ext__|txt|g' \
	-e 's|__db__|html|g' < $< > $@

%.pdf.xml: %.xml
	$(AM_V_GEN)$(SED) -e 's|__ext__|pdf|g' \
	-e 's|__db__|fo|g' < $< > $@

%.ps.xml: %.xml
	$(AM_V_GEN)$(SED) -e 's|__ext__|ps|g' \
	-e 's|__db__|fo|g' < $< > $@