- Changed makefiles in docsrc/fo, docsrc/html, and
docsrc/manpages dirs to depend on corresponding params.xsl
instead of on param.xweb. Rationale is that param.xsl gets
rebuilt any time param.xweb changes. In addition, param.xsl
gets rebuild any time any included params/*.xml file is
changed. So making docsrc/* builds depend on param.xsl
effectively makes them depend on both the param.xweb changes
on on the actual param changes.
- Changed doc/Makefile so that reference.html is rebuilt only
when docsrc/reference.xml changes, not when any of its
included files change. Rationale is that, because we chunk
output for the doc build, reference.html is simply a sort of
TOC page that doesn't need to get remade if the included files
change. Because output of those included files goes to
separate fo, html, and manpages subdirs, and that output gets
generated by seperate make targets.
$(XJPARSE) $(VPATH)/$<
$(XSLT) $(PROCOPT) $< $(RSTYLE) $@ $(XSLTOPT)
-reference.html: reference.xml $(RSTYLE) ../lib/lib.xml common/common.xml \
- html/param.xml \
- fo/param.xml fo/table.xml \
- manpages/param.xml
+reference.html: reference.xml $(RSTYLE)
$(XJPARSE) $(VPATH)/$<
$(XSLT) $(PROCOPT) $< $(RSTYLE) $@ $(XSLTOPT)
DIRS=common html fo manpages template tools pi
-PARAMS=$(shell find ../params/*.xml)
-
-all: xsl-params.xsl $(PARAMS)
+all: xsl-params.xsl
for i in $(DIRS) __bogus__; do \
if [ $$i != __bogus__ ] ; then \
echo "$(MAKE) -C $$i"; $(MAKE) -C $$i; \
all: $(XMLFILES)
clean:
- rm -f $(XMLFILES)
+ $(RM) $(XMLFILES)
%.xml : %.xsl $(JSTYLE)
$(XSLT) $< $(JSTYLE) /dev/null output-file=$@
$(XJPARSE) $@
-param.xml: param.xweb
+param.xml: ../../fo/param.xsl
$(MAKE) -C ../../fo param.xml
cp ../../fo/param.xml .
all: $(XMLFILES)
clean:
- rm -f $(XMLFILES)
+ $(RM) $(XMLFILES)
%.xml : %.xsl $(JSTYLE)
$(XSLT) $< $(JSTYLE) /dev/null output-file=$@
$(XJPARSE) $@
-param.xml: param.xweb
+param.xml: ../../html/param.xsl
$(MAKE) -C ../../html param.xml
cp ../../html/param.xml .
$(XSLT) $< $(JSTYLE) /dev/null output-file=$@
$(XJPARSE) $@
-param.xml: param.xweb
+param.xml: ../../manpages/param.xsl
$(MAKE) -C ../../manpages param.xml
cp ../../manpages/param.xml .