include ../../releasetools/Variables.mk
+
+XJPARSEFLAGS= -E 0 -w
+
XSLTOPT=
PROCOPT=
DIRS=common refentry lib html fo manpages roundtrip slides-html slides-fo website template utility pi
+%.included: %
+ $(XINCLUDE) $< >$@
+
# build reference.pdf.gz except for snapshot releases
ifneq (snapshot,$(findstring snapshot,$(RELVER)))
all: reference.txt.gz reference.pdf.gz html
index.html: reference.html
cp -p $< $@
-reference.fo: ../docsrc/reference.dbk $(REFERENCEFOXSL)
- $(XSLTPROC) --xinclude $(REFERENCEFOXSL) $< > $@
+reference.fo: ../docsrc/reference.dbk.included $(REFERENCEFOXSL)
+ $(XSLT) $< $(REFERENCEFOXSL) > $@
reference.pdf: reference.fo
$(XEP) $(XEPFLAGS) $<
-reference.txt.html: ../docsrc/reference.dbk $(REFERENCETXTXSL)
- $(XSLTPROC) --xinclude $(REFERENCETXTXSL) $< > $@
+reference.txt.html: ../docsrc/reference.dbk.included $(REFERENCETXTXSL)
+ $(XSLT) $< $(REFERENCETXTXSL) > $@
reference.txt: reference.txt.html
$(TXT_MAKER) $(TXT_MAKER_FLAGS) $< > $@
$(RM) reference.txt.html
$(RM) reference.pdf.gz
$(RM) reference.txt.gz
+ $(RM) ../docsrc/reference.dbk.included