From: Eric S. Raymond Date: Tue, 30 Jul 2002 11:19:14 +0000 (+0000) Subject: Conversion to XML. X-Git-Tag: 1.3~3 X-Git-Url: http://thyrsus.com/gitweb/?a=commitdiff_plain;h=11748138ee42bf88d477361cb27e919e1df6c65e;p=hexdump.git Conversion to XML. --- diff --git a/Makefile b/Makefile index 218dddb..d13dac0 100644 --- 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 diff --git a/hexdump.xml b/hexdump.xml index 831e349..873cf56 100644 --- a/hexdump.xml +++ b/hexdump.xml @@ -1,4 +1,7 @@ - + + hex