From: Eric S. Raymond Date: Sun, 28 Jul 2002 16:50:10 +0000 (+0000) Subject: Convert to XML. X-Git-Tag: 2.2~4 X-Git-Url: http://thyrsus.com/gitweb/?a=commitdiff_plain;h=fe9c2c02e828befede76d8ee9da70e25c722e08d;p=cstrings.git Convert to XML. --- diff --git a/Makefile b/Makefile index 2215859..521df10 100644 --- 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))