]> granicus.if.org Git - docbook-dsssl/commitdiff
Remove (unnecessary) xs:imports from generated xlink.xsd and xml.xsd files
authorNorman Walsh <ndw@nwalsh.com>
Fri, 28 Oct 2005 12:41:12 +0000 (12:41 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Fri, 28 Oct 2005 12:41:12 +0000 (12:41 +0000)
docbook/relaxng/docbook/Makefile

index 62467555b2512960885ced8d97a9e109c7465b61..97a3d173e65329b6110cdbe27371c8df5fa4700e 100644 (file)
@@ -52,6 +52,10 @@ distrib: docbook.dtd docbook.rng   docbook.rnc   docbook.sch \
        cp docbook.dtd $(DISTRIB)/dtd/
        cp docbook.sch $(DISTRIB)/sch/
        trang docbook.dtd $(DISTRIB)/xsd/docbook.xsd
+       grep -v "xs:import" $(DISTRIB)/xsd/xlink.xsd > $(DISTRIB)/xsd/,xlink.xsd
+       mv $(DISTRIB)/xsd/,xlink.xsd $(DISTRIB)/xsd/xlink.xsd
+       grep -v "xs:import" $(DISTRIB)/xsd/xml.xsd > $(DISTRIB)/xsd/,xml.xsd
+       mv $(DISTRIB)/xsd/,xml.xsd $(DISTRIB)/xsd/xml.xsd
        cp howto/howto.xml howto/howto.html howto/howto.pdf $(DISTRIB)/docs/
        cp howto/images/*.png $(DISTRIB)/docs/images/
        cp spec/docbook.xml $(DISTRIB)/docs/$(SPECNAME).xml