splashscreen.h: splashscreen
sed <splashscreen >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
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))
-<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
-<!ENTITY % ISOnum PUBLIC "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN">
-%ISOnum;
-<!ENTITY % ISOpub PUBLIC "ISO 8879:1986//ENTITIES Publishing//EN">
-%ISOpub;
-]>
+<!DOCTYPE refentry PUBLIC
+ "-//OASIS//DTD DocBook XML V4.1.2//EN"
+ "docbook/docbookx.dtd">
<refentry id='ascii.1'>
<refmeta>
<refentrytitle>ascii</refentrytitle>
<refsect1 id='author'><title>AUTHOR</title>
-<para>Eric S. Raymond <esr@snark.thyrsus.com> November 1990
-(home page at <ulink
+<para>Eric S. Raymond <email>esr@snark.thyrsus.com</email>; November
+1990 (home page at <ulink
url='http://www.tuxedo.org/~esr/'>http://www.tuxedo.org/~esr/</ulink>).
Reproduce, use, and modify as you like as long as you don't remove
this authorship notice. Ioannis E. Tambouras
listing HTML/SGML entities.</para>
</refsect1>
</refentry>
-G
+