From 83dcf89f655c186a0852d4f061e6dfd2eb8eca8f Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Thu, 17 Jun 1999 00:12:44 +0000 Subject: [PATCH] V -> VERS in Makefile --- Makefile | 24 ++++++++++++------------ ascii.spec | 2 +- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/Makefile b/Makefile index add6aa7..509f948 100644 --- 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 . diff --git a/ascii.spec b/ascii.spec index ff7d50a..3f76eea 100644 --- a/ascii.spec +++ b/ascii.spec @@ -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 -- 2.43.0