From: Eric S. Raymond Date: Sun, 28 Jul 2002 07:36:53 +0000 (+0000) Subject: XML. X-Git-Tag: 3-1~1 X-Git-Url: http://thyrsus.com/gitweb/?a=commitdiff_plain;h=b65e0983ce4b46a19b2b4cf1a2d452fe7fe62c37;p=ascii.git XML. --- diff --git a/Makefile b/Makefile index 8133019..4f43a5e 100644 --- a/Makefile +++ b/Makefile @@ -12,8 +12,8 @@ ascii: ascii.c splashscreen.h splashscreen.h: splashscreen sed splashscreen.h -e 's/\\/\\\\/g' -e 's/"/\\"/' -e 's/.*/P("&");/' -ascii.1: ascii.sgml - docbook2man ascii.sgml +ascii.1: ascii.xml + xmlto man ascii.xml clean: rm -f ascii ascii.tar* ascii.shar ascii.o splashscreen.h @@ -27,10 +27,10 @@ uninstall: rm /usr/bin/ascii rm /usr/share/man/man1/ascii.1 -SOURCES = README Makefile ascii.c ascii.sgml ascii.lsm ascii.spec splashscreen ascii.cgi +SOURCES = README Makefile ascii.c ascii.xml ascii.lsm ascii.spec splashscreen ascii.cgi -ascii-$(VERS).tar.gz: $(SOURCES) - @ls $(SOURCES) | sed s:^:ascii-$(VERS)/: >MANIFEST +ascii-$(VERS).tar.gz: $(SOURCES) ascii.1 + @ls $(SOURCES) ascii.1 | sed s:^:ascii-$(VERS)/: >MANIFEST @(cd ..; ln -s ascii ascii-$(VERS)) (cd ..; tar -czvf ascii/ascii-$(VERS).tar.gz `cat ascii/MANIFEST`) @(cd ..; rm ascii-$(VERS)) diff --git a/ascii.xml b/ascii.xml index 360b8d0..08c977d 100644 --- a/ascii.xml +++ b/ascii.xml @@ -1,9 +1,6 @@ - -%ISOnum; - -%ISOpub; -]> + ascii @@ -289,8 +286,8 @@ for random 8-bit values. AUTHOR -Eric S. Raymond <esr@snark.thyrsus.com> November 1990 -(home page at Eric S. Raymond esr@snark.thyrsus.com; November +1990 (home page at http://www.tuxedo.org/~esr/). Reproduce, use, and modify as you like as long as you don't remove this authorship notice. Ioannis E. Tambouras @@ -302,4 +299,4 @@ Vela corrected the ISO names. Dave Capella contributed the idea of listing HTML/SGML entities. -G +