blob: fd571b01fd313591471c55eff8f431470d4a124e (
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' < $< > $@
|