]> thyrsus.com Git - ascii.git/commitdiff
V -> VERS in Makefile
authorEric S. Raymond <esr@thyrsus.com>
Thu, 17 Jun 1999 00:12:44 +0000 (00:12 +0000)
committerEric S. Raymond <esr@thyrsus.com>
Thu, 17 Jun 1999 00:12:44 +0000 (00:12 +0000)
Makefile
ascii.spec

index add6aa7c72f07bd5d86dda544de40e597b9a78d1..509f948b97df7931ffff39bedcc9455a4ac67b71 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@
 
 # Note: When the version changes, you also have to change
 # the RPM spec file and LSM
-V=2.6
+VERS=2.6
 
 CFLAGS = -O
 
@@ -17,23 +17,23 @@ clean:
 
 SOURCES = Makefile ascii.c ascii.1 ascii.lsm ascii.spec splashscreen
 
-ascii-$(V).tar.gz: $(SOURCES)
-       @ls $(SOURCES) | sed s:^:ascii-$(V)/: >MANIFEST
-       @(cd ..; ln -s ascii ascii-$(V))
-       (cd ..; tar -czvf ascii/ascii-$(V).tar.gz `cat ascii/MANIFEST`)
-       @(cd ..; rm ascii-$(V))
+ascii-$(VERS).tar.gz: $(SOURCES)
+       @ls $(SOURCES) | sed s:^:ascii-$(VERS)/: >MANIFEST
+       @(cd ..; ln -s ascii ascii-$(VERS))
+       (cd ..; tar -czvf ascii/ascii-$(VERS).tar.gz `cat ascii/MANIFEST`)
+       @(cd ..; rm ascii-$(VERS))
 
-ascii-$(V).shar:
-       shar $(SOURCES) >ascii-$(V).shar
+ascii-$(VERS).shar:
+       shar $(SOURCES) >ascii-$(VERS).shar
 
-dist: ascii-$(V).tar.gz
+dist: ascii-$(VERS).tar.gz
 
 RPMROOT=/usr/src/redhat
 RPM = rpm
 RPMFLAGS = -ba
 rpm: dist
-       cp ascii-$(V).tar.gz $(RPMROOT)/SOURCES;
+       cp ascii-$(VERS).tar.gz $(RPMROOT)/SOURCES;
        cp ascii.spec $(RPMROOT)/SPECS
        cd $(RPMROOT)/SPECS; $(RPM) $(RPMFLAGS) ascii.spec      
-       cp $(RPMROOT)/RPMS/`arch|sed 's/i[4-9]86/i386/'`/ascii-$(V)*.rpm .
-       cp $(RPMROOT)/SRPMS/ascii-$(V)*.src.rpm .
+       cp $(RPMROOT)/RPMS/`arch|sed 's/i[4-9]86/i386/'`/ascii-$(VERS)*.rpm .
+       cp $(RPMROOT)/SRPMS/ascii-$(VERS)*.src.rpm .
index ff7d50a665ec6744ce1f76ffc2bc6d9b5720c458..3f76eea8a12e29bae6f32f67ce69dac00f5fbd27 100644 (file)
@@ -1,7 +1,7 @@
 Name: ascii
 Version: 2.6
 Release: 1
-Source: locke.ccil.org:/pub/esr/ascii-2.5.tar.gz
+Source: locke.ccil.org:/pub/esr/ascii-2.6.tar.gz
 Copyright: distributable
 Group: Utilities/Text
 Summary: interactive ASCII name and synonym chart