]> thyrsus.com Git - deal.git/commitdiff
Convert to XML.
authorEric S. Raymond <esr@thyrsus.com>
Sun, 28 Jul 2002 16:49:21 +0000 (16:49 +0000)
committerEric S. Raymond <esr@thyrsus.com>
Sun, 28 Jul 2002 16:49:21 +0000 (16:49 +0000)
Makefile
deal.xml

index 3464fc5f406af7ecb6e4c9d500330a1c0f4b7b48..8b5dd0290efe6896021edef1161aa478d24b7848 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -10,14 +10,14 @@ SOURCES = README Makefile deal.c deal.sgml deal.lsm deal.spec
 deal: deal.c
        $(CC) -g deal.c  -lm -o deal
 
-deal-$(VERS).tar.gz: $(SOURCES)
-       @ls $(SOURCES) | sed s:^:deal-$(VERS)/: >MANIFEST
+deal-$(VERS).tar.gz: $(SOURCES) deal.1
+       @ls $(SOURCES) deal.1 | sed s:^:deal-$(VERS)/: >MANIFEST
        @(cd ..; ln -s deal deal-$(VERS))
        (cd ..; tar -czvf deal/deal-$(VERS).tar.gz `cat deal/MANIFEST`)
        @(cd ..; rm deal-$(VERS))
 
-deal.1: deal.sgml
-       docbook2man deal.sgml
+deal.1: deal.xml
+       xmlto man deal.xml
 
 install: deal.1 uninstall
        cp deal /usr/bin
@@ -39,5 +39,4 @@ rpm: dist
        cp $(RPMROOT)/SRPMS/deal-$(VERS)*.src.rpm .
 
 clean:
-       rm -f deal deal-*.tar.gz deal.o *.rpm *~
-       rm -f deal.1 manpage.links manpage.refs
+       rm -f deal deal.1 deal-*.tar.gz deal.o *.rpm *~
index 82cde9362f5446ab081092046158bd8b3cbe7e94..e18ba7e0286c03ed2715ad428f6d10e22ec51143 100644 (file)
--- a/deal.xml
+++ b/deal.xml
@@ -1,4 +1,6 @@
-<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
+<!DOCTYPE refentry PUBLIC 
+   "-//OASIS//DTD DocBook XML V4.1.2//EN"
+   "docbook/docbookx.dtd">
 <refentry id='deal.1'>
 <refmeta>
 <refentrytitle>deal</refentrytitle>