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
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))