cupl.1: cupl.xml
xmlto man cupl.xml
-DOCS = READ.ME corc.doc cupl.doc cupl.xml cupl.lsm
+DOCS = READ.ME COPYING corc.doc cupl.doc cupl.xml cupl.lsm
SOURCES = Makefile cupl.[lyh] $(MODULES:.o=.c)
+TESTS = test/[abcdefghijklmnopqrstuvwxyz]* test/MAKEREGRESS test/REGRESS test/TESTALL
cupl-$(VERS).tar.gz: $(SOURCES) $(DOCS) cupl.1
- @ls $(SOURCES) $(DOCS) cupl.1 | sed s:^:cupl-$(VERS)/: >MANIFEST
@(cd ..; ln -s cupl cupl-$(VERS))
+ @ls $(SOURCES) $(DOCS) $(TESTS) cupl.1 | sed s:^:cupl-$(VERS)/: >MANIFEST
(cd ..; tar -czvf cupl/cupl-$(VERS).tar.gz `cat cupl/MANIFEST`)
@(cd ..; rm cupl-$(VERS))
%install
rm -f /usr/bin/cupl /usr/share/man/man1/cupl.1
cp cupl /usr/bin
+cp cupl.1 /usr/share/man/man1/cupl.1
%files
%doc READ.ME COPYING corc.doc cupl.doc test