Author: Andrew Shadura Description: Don't run things twice. --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -15,9 +15,6 @@ update: $(MDOC) update --out=en $(ASSEMBLIES) -$(srcdir)/en/*/*.xml $(srcdir)/en/*.xml: - $(MDOC) update --out=en $(ASSEMBLIES) - $(ASSEMBLY_NAME)-docs.source: @echo "Generating $@" @echo "" > $@ @@ -25,7 +22,9 @@ @echo " " >> $@ @echo "" >> $@ -$(ASSEMBLY_NAME)-docs.zip $(ASSEMBLY_NAME)-docs.tree: $(srcdir)/en/*/*.xml $(srcdir)/en/*.xml +$(ASSEMBLY_NAME)-docs.zip $(ASSEMBLY_NAME)-docs.tree: assemble + +assemble: update $(MDASSEMBLER) --ecma $(srcdir)/en -o $(ASSEMBLY_NAME)-docs CLEANFILES = $(TARGETS)