]> thyrsus.com Git - hexdump.git/commitdiff
Conversion to XML.
authorEric S. Raymond <esr@thyrsus.com>
Tue, 30 Jul 2002 11:19:14 +0000 (11:19 +0000)
committerEric S. Raymond <esr@thyrsus.com>
Tue, 30 Jul 2002 11:19:14 +0000 (11:19 +0000)
Makefile
hexdump.xml

index 218dddbde11a2779ae71ab6841db23e4e974ff29..d13dac046aa977e47847853851f6dcd5b3291a58 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -6,16 +6,16 @@ VERS=1.2
 hex: hex.c
        $(CC) -DVERSION=\"$(VERS)\" -O hex.c -o hex
 
-SOURCES = READ.ME Makefile hex.c hex.sgml hex.1 hex.lsm hex.spec
+SOURCES = READ.ME Makefile hex.c hex.xml hex.lsm hex.spec
 
-hex-$(VERS).tar.gz:
-       @ls $(SRC) | sed s:^:hex-$(VERS)/: >MANIFEST
+hex-$(VERS).tar.gz: $(SRC) hex.1 
+       @ls $(SRC) hex.1 | sed s:^:hex-$(VERS)/: >MANIFEST
        @(cd ..; ln -s hex hex-$(VERS))
        (cd ..; tar -czvf hex/hex-$(VERS).tar.gz `cat hex/MANIFEST`)
        @(cd ..; rm hex-$(VERS))
 
-hex.1: hex.sgml
-       docbook2man hex.sgml
+hex.1: hex.xml
+       xmlto man hex.xml
 
 install: hex.1 uninstall
        cp hex /usr/bin
index 831e3493c8b8212ed86bed6d3955b6bf1e646dac..873cf566260dfe68dce568a9d4794c0359f821f3 100644 (file)
@@ -1,4 +1,7 @@
-<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE refentry PUBLIC 
+   "-//OASIS//DTD DocBook XML V4.1.2//EN"
+   "docbook/docbookx.dtd">
 <refentry id='hex.1'>
 <refmeta>
 <refentrytitle>hex</refentrytitle>