From: Eric S. Raymond Date: Tue, 30 Jul 2002 22:35:25 +0000 (+0000) Subject: RPM build fix. X-Git-Tag: 1.3~1 X-Git-Url: http://thyrsus.com/gitweb/?a=commitdiff_plain;h=0bc1ec84984ac1b62121862328c073e699a58e2d;p=hexdump.git RPM build fix. --- diff --git a/Makefile b/Makefile index bfc5edd..2a8c67e 100644 --- a/Makefile +++ b/Makefile @@ -8,8 +8,8 @@ hex: hex.c SOURCES = READ.ME Makefile hex.c hex.xml hex.lsm hex.spec -hex-$(VERS).tar.gz: $(SRC) hex.1 - @ls $(SRC) hex.1 | sed s:^:hex-$(VERS)/: >MANIFEST +hex-$(VERS).tar.gz: $(SOURCES) hex.1 + @ls $(SOURCES) hex.1 | sed s:^:hex-$(VERS)/: >MANIFEST @(cd ..; ln -s hex hex-$(VERS)) (cd ..; tar -czvf hex/hex-$(VERS).tar.gz `cat hex/MANIFEST`) @(cd ..; rm hex-$(VERS)) @@ -23,7 +23,6 @@ install: hex.1 uninstall uninstall: rm -f /usr/bin/hex /usr/share/man/man1/hex. - rm -f hex.1 manpage.links manpage.refs clean: rm -f hex hex-$(VERS).tar.gz *.rpm