# GENERATE HTML LDDL #########################################################
-ifeq ($(MAKECMDGOALS),html)
- LDWS = $(shell find $(LDDLDIR) -name *.ldw.xml)
-endif
+$(HTMLSTAMP): LDWS = `find $(LDDLDIR) -name *.ldw.xml -not -name index.ldw.xml`
$(HTMLSTAMP): $(LDWSTAMP) $(SITEMAP) $(LDWEB:%=$(XSLTDIR)/%)
$(H)for LDW in $(LDWS); do \
$(XSLT) $(XSLT_OUT) $$HTML $(XSLT_XSL) $(XSLTDIR)/ld_web.xsl $(XSLT_IN) $$LDW; \
done
$(H)touch $@
- $(H)touch $(HTMLIXSTAMP)
html: $(HTMLSTAMP)