From: Eric S. Raymond Date: Tue, 30 Jul 2002 18:10:55 +0000 (+0000) Subject: We have a man page. X-Git-Tag: 1-4~8 X-Git-Url: http://thyrsus.com/gitweb/?a=commitdiff_plain;h=1a03b6bba95918d86000705451b2931cc0920304;p=cupl.git We have a man page. --- diff --git a/Makefile b/Makefile index f041769..7563ad1 100644 --- a/Makefile +++ b/Makefile @@ -46,11 +46,14 @@ toktab.h: tokens.h lextest: lexer.c tokens.h tokdump.o $(CC) $(CFLAGS) -DMAIN lexer.c tokdump.o -o lextest +cupl.1: cupl.xml + xmlto man cupl.xml + DOCS = READ.ME corc.doc cupl.doc cupl.xml cupl.lsm SOURCES = Makefile cupl.[lyh] $(MODULES:.o=.c) -cupl-$(VERS).tar.gz: $(SOURCES) $(DOCS) - @ls $(SOURCES) $(DOCS) | sed s:^:cupl-$(VERS)/: >MANIFEST +cupl-$(VERS).tar.gz: $(SOURCES) $(DOCS) cupl.1 + @ls $(SOURCES) $(DOCS) cupl.1 | sed s:^:cupl-$(VERS)/: >MANIFEST @(cd ..; ln -s cupl cupl-$(VERS)) (cd ..; tar -czvf cupl/cupl-$(VERS).tar.gz `cat cupl/MANIFEST`) @(cd ..; rm cupl-$(VERS)) diff --git a/cupl.spec b/cupl.spec index 525b5d0..e87429e 100644 --- a/cupl.spec +++ b/cupl.spec @@ -17,9 +17,10 @@ Includes full documentation and a chrestomathy of programs. make %install -rm -f /usr/bin/cupl +rm -f /usr/bin/cupl /usr/share/man/man1/cupl.1 cp cupl /usr/bin %files -%doc READ.ME COPYING cupl.xml corc.doc cupl.doc +%doc READ.ME COPYING corc.doc cupl.doc /usr/bin/cupl +/usr/share/man/man1/cupl.1