From: Norman Walsh Date: Fri, 30 May 2008 16:56:04 +0000 (+0000) Subject: Added makefile, fixed paths X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8939bca8ba5759cdf7843a38d129ab4d4749d5fd;p=docbook-dsssl Added makefile, fixed paths --- diff --git a/docbook/relaxng/publishers/src/Makefile b/docbook/relaxng/publishers/src/Makefile new file mode 100644 index 000000000..a03a1fdfc --- /dev/null +++ b/docbook/relaxng/publishers/src/Makefile @@ -0,0 +1,36 @@ +include _header.mak + +REMOVESCHEMATRON=0 + +SRCS = publishers.rnc + +BINARY = publishers.rnd + +# Fixme: publishers.dtd doesn't build (so can't build publishers.xsd) +all:: publishers.rng publishers.rnc publishers.sch + +clean:: ; rm -f publishers.rng publishers.rnc publishers.dtd publishers.sch *.xsd + +$(_OUTTOP)/publishers/publishers.rng: publishers/publishers.rnc \ + ../docbook/src/core.rnc \ + publishers/dc.rnc \ + publishers/dcterms.rnc \ + publishers/dcmitype.rnc + +include _footer.mak + +publishers.rng: $(basename $(publishers_BINARY)).rnx + $(XSLTPROC) --param remove-schematron $(REMOVESCHEMATRON) --output $@ $(TOOLS)/removedoc.xsl $< + +publishers.rnc: publishers.rng + $(RUNTRANG) $< $@ + +publishers.dtd: $(basename $(publishers_BINARY)).dtx publishers.rnc + $(XSLTPROC) -output $@ $(TOOLS)/xml2dtd.xsl $< + +publishers.sch: $(basename $(publishers_BINARY)).rnx + $(XSLTPROC) --output $@ $(TOOLS)/schematron.xsl $< + +publishers.xsd: publishers.dtd + $(RUNTRANG) $< $@ + diff --git a/docbook/relaxng/publishers/src/publishers.rnc b/docbook/relaxng/publishers/src/publishers.rnc index 9ca3e289d..bbd577d6c 100644 --- a/docbook/relaxng/publishers/src/publishers.rnc +++ b/docbook/relaxng/publishers/src/publishers.rnc @@ -42,7 +42,7 @@ start = db.set | db.section | db.para -include "core.rnc" { +include "../../docbook/src/core.rnc" { start |= notAllowed db.sidebar |= notAllowed db.person |= notAllowed