From: Eric S. Raymond Date: Wed, 6 Dec 1995 03:40:21 +0000 (+0000) Subject: Ready for RPM. X-Git-Tag: 2-1~6 X-Git-Url: http://thyrsus.com/gitweb/?a=commitdiff_plain;h=eaff38d5452d042f78fd8250966fcba14dfa3e8e;p=ascii.git Ready for RPM. --- diff --git a/Makefile b/Makefile index c942d05..f9ef221 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,8 @@ # ascii -- interactive ASCII reference +# Note: When the version changes, you also have to change +# * the name of the containing directory +# * the spec file V=2.0 ascii: ascii.c @@ -10,7 +13,7 @@ clean: rm -f ascii ascii.tar* ascii.shar ascii-$(V).tar: Makefile ascii.c ascii.1 ascii.lsm - cd ..; tar cvf ascii-$(V)/ascii-$(V).tar ascii-$(V)/Makefile ascii-$(V)/ascii.c ascii-$(V)/ascii.1 ascii-$(V)/ascii.lsm ascii-$(V)/ascii-$(V)-1.spec + cd ..; tar cvf ascii-$(V)/ascii-$(V).tar ascii-$(V)/Makefile ascii-$(V)/ascii.c ascii-$(V)/ascii.1 ascii-$(V)/ascii.lsm ascii-$(V)/ascii.spec ascii-$(V).tar.gz: ascii-$(V).tar gzip ascii-$(V).tar @@ -20,5 +23,5 @@ ascii-$(V).shar: rpm: ascii-$(V).tar.gz cp ascii-$(V).tar.gz /usr/src/SOURCES - cp ascii-$(V)-1.spec /usr/src/SPECS + cp ascii.spec /usr/src/SPECS/ascii-$(V)-1.spec rpm -ba ascii-$(V)-1.spec