[xml/sgml-commit] r1186 - in /packages/sgml-data/branches/experimental/debian: get-orig-source source

dleidert-guest at users.alioth.debian.org dleidert-guest at users.alioth.debian.org
Mon Sep 8 01:15:53 UTC 2008


Author: dleidert-guest
Date: Mon Sep  8 01:15:53 2008
New Revision: 1186

URL: http://svn.debian.org/wsvn/debian-xml-sgml/?sc=1&rev=1186
Log:
* debian/source: Renamed to debian/get-orig-source.
  (get-orig-source): More work on the target. Now split into small targets.
  Thus I should be able to avoid the `cp -u' calls by makes automatic
  tracking.


Added:
    packages/sgml-data/branches/experimental/debian/get-orig-source   (contents, props changed)
      - copied, changed from r1185, packages/sgml-data/branches/experimental/debian/source
Removed:
    packages/sgml-data/branches/experimental/debian/source

Copied: packages/sgml-data/branches/experimental/debian/get-orig-source (from r1185, packages/sgml-data/branches/experimental/debian/source)
URL: http://svn.debian.org/wsvn/debian-xml-sgml/packages/sgml-data/branches/experimental/debian/get-orig-source?rev=1186&op=diff
==============================================================================
--- packages/sgml-data/branches/experimental/debian/source (original)
+++ packages/sgml-data/branches/experimental/debian/get-orig-source Mon Sep  8 01:15:53 2008
@@ -1,66 +1,114 @@
 #!/usr/bin/make -f
 
-.PHONY: get-orig-source
+TMPDIR = download
 
-get-orig-source:
-	set -ex ; \
-	TMPDIR=download ; \
-	mkdir -p "$$TMPDIR" ; \
-	wget -N -P "$$TMPDIR" \
-	    ftp://ftp.ucc.ie/pub/html/htmlpro.zip \
-	    http://www.renderx.com/Tests/validator/fo.zip \
-	    http://xml.ascc.net/resource/big5sgml.dcl \
-	    http://xml.ascc.net/resource/big5sgmltight.dcl \
-	    http://xml.ascc.net/resource/big5xml.dcl \
-	    http://validator.w3.org/sgml-lib/REC-html32-19970114/HTML32.dcl \
-	    http://validator.w3.org/sgml-lib/REC-html32-19970114/HTML32.dtd ; \
-	mkdir -p \
-	    sgml/declaration \
-	    sgml/dtd \
-	    sgml/entities/ArborText \
-	    sgml/entities/Hewlett-Packard \
-	    sgml/entities/sgml-iso-entities-8879.1986 \
-	    sgml/entities/sgml-iso-entities-9573-13.1991 \
-	    sgml/html/dtd/4.0 \
-	    sgml/html/dtd/4.01 \
-	    xml/declaration \
-	    xml/entities/xml-iso-entities-8879.1986 \
-	    xml/entities/xml-iso-entities-9573-13.1991 \
-	    xml/entities/xml-iso-entities-9573.2003 \
-	    xml/qaml \
-	    xml/svg ; \
+.PHONY: get-orig-source get-orig-source-sgml get-orig-source-xml get-orig-source-sgml-declaration \
+        get-orig-source-sgml-dtd get-orig-source-sgml-entities get-orig-source-xml-declaration \
+        get-orig-source-xml-entities get-orig-source-xml-qaml get-orig-source-xml-svg
+
+get-orig-source-sgml: get-orig-source-sgml-declaration get-orig-source-sgml-dtd get-orig-source-sgml-entities \
+                      get-orig-source-sgml-html
+
+get-orig-source-sgml-declaration:
+	mkdir -p sgml/declaration $(TMPDIR)
+	wget -N -P $(TMPDIR) \
+		http://xml.ascc.net/resource/big5sgml.dcl \
+		http://xml.ascc.net/resource/big5sgmltight.dcl
 	wget -N -P sgml/declaration \
-	    http://openjade.cvs.sourceforge.net/*checkout*/openjade/sp/pubtext/japan.dcl \
-	    http://validator.w3.org/sgml-lib/sgml.dcl ; \
-	cp -u "$$TMPDIR"/big5sgml.dcl sgml/declaration/big5sgml.decl ; \
-	cp -u "$$TMPDIR"/big5sgmltight.dcl sgml/declaration/big5sgmltight.decl ; \
+		http://openjade.cvs.sourceforge.net/*checkout*/openjade/sp/pubtext/japan.dcl \
+		http://validator.w3.org/sgml-lib/sgml.dcl
+	cp -u $(TMPDIR)/big5sgml.dcl sgml/declaration/big5sgml.decl
+	cp -u $(TMPDIR)/big5sgmltight.dcl sgml/declaration/big5sgmltight.decl
+
+get-orig-source-sgml-dtd:
+	mkdir -p sgml/dtd $(TMPDIR)
+	wget -N -P $(TMPDIR) \
+		http://www.renderx.com/Tests/validator/fo.zip
 	wget -N -P sgml/dtd \
-	    http://xml.ascc.net/resource/rdf.dtd ; \
-	unzip -f -d sgml/dtd "$$TMPDIR"/fo.zip || true ; \
+		http://xml.ascc.net/resource/rdf.dtd
+	unzip -u -o -d sgml/dtd $(TMPDIR)/fo.zip || true
+
+get-orig-source-sgml-entities:
+	mkdir -p sgml/dtd/ArborText \
+		 sgml/entities/Hewlett-Packard \
+		 sgml/entities/sgml-iso-entities-8879.1986 \
+		 sgml/entities/sgml-iso-entities-9573-13.1991 \
+  		 $(TMPDIR)
+	wget -N -r -nd -np -P $(TMPDIR)/sgml-iso-entities-8879.1986 \
+		ftp://ftp.ifi.uio.no/pub/SGML/ENTITIES/ISO*
+	wget -N -P $(TMPDIR)/sgml-iso-entities-9573-13.1991 \
+		http://xml.coverpages.org/ptext13.zip
+	for i in $(TMPDIR)/sgml-iso-entities-8879.1986/ISO* ; do \
+		cp -u $$i sgml/entities/sgml-iso-entities-8879.1986/`basename $$i`.ent ; \
+	done
+	unzip -u -o -d $(TMPDIR)/sgml-iso-entities-9573-13.1991 \
+		$(TMPDIR)/sgml-iso-entities-9573-13.1991/ptext13.zip || true
+	for i in $(TMPDIR)/sgml-iso-entities-9573-13.1991/ISO*.PEN ; do \
+		cp -u $$i sgml/entities/sgml-iso-entities-9573-13.1991/`basename $$i | sed 's/ISO\([^.]\+\)\.PEN/ISO\L\1.ent/g'` ; \
+	done
+
+get-orig-source-sgml-html:
+	mkdir -p sgml/html/dtd/4.0 \
+		 sgml/html/dtd/4.01 \
+		 sgml/html/dtd/iso-15445 \
+		 $(TMPDIR)
+	wget -N -P $(TMPDIR) \
+		http://validator.w3.org/sgml-lib/REC-html32-19970114/HTML32.dcl \
+		http://validator.w3.org/sgml-lib/REC-html32-19970114/HTML32.dtd
 	wget -N -P sgml/html/dtd \
-	   http://web.archive.org/web/19970720095404/http://www.webtechs.com/html-tk/src/lib/html-mcom.dtd \
-	   http://web.archive.org/web/19970720095411/http://www.webtechs.com/html-tk/src/lib/html-mcoms.dtd ; \
+		http://web.archive.org/web/19970720095404/http://www.webtechs.com/html-tk/src/lib/html-mcom.dtd \
+		http://web.archive.org/web/19970720095411/http://www.webtechs.com/html-tk/src/lib/html-mcoms.dtd
 	wget -N -P sgml/html/dtd/4.0 \
-	   http://validator.w3.org/sgml-lib/REC-html40-19980424/HTML4.decl \
-	   http://validator.w3.org/sgml-lib/REC-html40-19980424/frameset.dtd \
-	   http://validator.w3.org/sgml-lib/REC-html40-19980424/loose.dtd \
-	   http://validator.w3.org/sgml-lib/REC-html40-19980424/strict.dtd ; \
+		http://validator.w3.org/sgml-lib/REC-html40-19980424/HTML4.decl \
+		http://validator.w3.org/sgml-lib/REC-html40-19980424/frameset.dtd \
+		http://validator.w3.org/sgml-lib/REC-html40-19980424/loose.dtd \
+		http://validator.w3.org/sgml-lib/REC-html40-19980424/strict.dtd
 	wget -N -P sgml/html/dtd/4.01 \
-	   http://validator.w3.org/sgml-lib/REC-html401-19991224/HTML4.decl \
-	   http://validator.w3.org/sgml-lib/REC-html401-19991224/frameset.dtd \
-	   http://validator.w3.org/sgml-lib/REC-html401-19991224/loose.dtd \
-	   http://validator.w3.org/sgml-lib/REC-html401-19991224/strict.dtd ; \
-	cp -u "$$TMPDIR"/HTML32.dcl sgml/html/dtd/html-3.2.decl ; \
-	cp -u "$$TMPDIR"/HTML32.dtd sgml/html/dtd/html-3.2.dtd ; \
+		http://validator.w3.org/sgml-lib/REC-html401-19991224/HTML4.decl \
+		http://validator.w3.org/sgml-lib/REC-html401-19991224/frameset.dtd \
+		http://validator.w3.org/sgml-lib/REC-html401-19991224/loose.dtd \
+		http://validator.w3.org/sgml-lib/REC-html401-19991224/strict.dtd
+	cp -u $(TMPDIR)/HTML32.dcl sgml/html/dtd/html-3.2.decl
+	cp -u $(TMPDIR)/HTML32.dtd sgml/html/dtd/html-3.2.dtd
+	wget -N -P sgml/html/dtd/iso-15445 \
+		https://www.cs.tcd.ie/15445/15445.dcl \
+		https://www.cs.tcd.ie/15445/15445.dtd
+
+get-orig-source-xml: get-orig-source-xml-declaration get-orig-source-xml-entities get-orig-source-xml-qaml \
+                     get-orig-source-xml-svg
+
+get-orig-source-xml-declaration:
+	mkdir -p xml/declaration $(TMPDIR)
+	wget -N -P $(TMPDIR) \
+		http://xml.ascc.net/resource/big5sgml.dcl
 	wget -N -P xml/declaration \
-	    http://validator.w3.org/sgml-lib/xml.dcl \
-	    http://www.w3.org/MarkUp/DTD/xml1n.dcl ; \
-	cp -u "$$TMPDIR"/big5xml.dcl xml/declaration/big5xml.decl ; \
+		http://validator.w3.org/sgml-lib/xml.dcl \
+		http://www.w3.org/MarkUp/DTD/xml1n.dcl
+	cp -u $(TMPDIR)/big5xml.dcl xml/declaration/big5xml.decl
+
+get-orig-source-xml-entities:
+	mkdir -p xml/entities/xml-iso-entities-8879.1986 \
+		 xml/entities/xml-iso-entities-9573-13.1991 \
+		 xml/entities/xml-iso-entities-9573.2003
+	wget -N -r -l 0 -np -nd -A ent -erobots=off -P xml/entities/xml-iso-entities-8879.1986 \
+		http://www.w3.org/2003/entities/iso8879/
+	wget -N -r -l 0 -np -nd -A ent -erobots=off -P xml/entities/xml-iso-entities-9573-13.1991 \
+		http://www.w3.org/2003/entities/iso9573-1991/
+	wget -N -r -l 0 -np -nd -A ent -erobots=off -P xml/entities/xml-iso-entities-9573.2003 \
+		http://www.w3.org/2003/entities/iso9573-2003/
+
+get-orig-source-xml-qaml:
+	mkdir -p xml/qaml
 	wget -N -P xml/qaml \
-	    http://xml.ascc.net/xml/resource/qaml-xml.dtd ; \
+		http://xml.ascc.net/xml/resource/qaml-xml.dtd
+
+get-orig-source-xml-svg:
+	mkdir -p xml/svg
 	wget -N -P xml/svg \
-	    http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd \
-	    http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd ; \
-	exit 0;
+		http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd \
+		http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd
 
+get-orig-source: get-orig-source-sgml get-orig-source-xml
+
+# wget -N -P $(TMPDIR) ftp://ftp.ucc.ie/pub/html/htmlpro.zip
 # rename 's/HTML([^\.]+\.*$)/html-\L$1/' sgml/html/dtd/HTML*

Propchange: packages/sgml-data/branches/experimental/debian/get-orig-source
------------------------------------------------------------------------------
    svn:executable = *

Propchange: packages/sgml-data/branches/experimental/debian/get-orig-source
------------------------------------------------------------------------------
    svn:mergeinfo = 




More information about the debian-xml-sgml-commit mailing list