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

index 2215859ad3b5df60d0c69dbab53bb22a60db9bff..521df10489678c44c8ca2a9d8f04ddd3438d7aa2 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -16,8 +16,8 @@ cstrings: cstrings.l
        mv lex.yy.c cstrings.c
        $(CC) $(CFLAGS) cstrings.c $(LDFLAGS) -o cstrings
 
-cstrings.1: cstrings.sgml
-       docbook2man cstrings.sgml
+cstrings.1: cstrings.xml
+       xmlto man cstrings.xml
 
 install: cstrings.1 uninstall
        cp cstrings /usr/bin
@@ -31,10 +31,10 @@ clean:
        rm -f *.rpm cstrings-*.tar.gz
        rm -f cstrings.1 manpage.links manpage.refs
 
-SOURCES = READ.ME cstrings.1 Makefile cstrings.l cstrings.lsm cstrings.spec
+SOURCES = READ.ME Makefile cstrings.l cstrings.lsm cstrings.spec
 
-cstrings-$(VERS).tar.gz: $(SOURCES)
-       @ls $(SOURCES) | sed s:^:cstrings-$(VERS)/: >MANIFEST
+cstrings-$(VERS).tar.gz: $(SOURCES) cstrings.1
+       @ls $(SOURCES) cstrings.1 | sed s:^:cstrings-$(VERS)/: >MANIFEST
        @(cd ..; ln -s cstrings cstrings-$(VERS))
        (cd ..; tar -czvf cstrings/cstrings-$(VERS).tar.gz `cat cstrings/MANIFEST`)
        @(cd ..; rm cstrings-$(VERS))