From: Eric S. Raymond Date: Fri, 28 Jul 2000 03:20:15 +0000 (+0000) Subject: Ready to ship. X-Git-Tag: 1-3 X-Git-Url: http://thyrsus.com/gitweb/?a=commitdiff_plain;h=062a39e029f510c282bdb1faac4c07acfbb10adb;p=cupl.git Ready to ship. --- diff --git a/Makefile b/Makefile index 45e5376..5cf7281 100644 --- a/Makefile +++ b/Makefile @@ -3,9 +3,8 @@ # # Note: When the version changes, you also have to change -# * the name of the containing directory -# * the RPM spec file -V=1.2 +# the RPM spec file and the lsm. +VERS=1.3 CDEBUG = -g # use -O for production, -g for debugging YFLAGS = -vt # use -l for production, -vt for debugging @@ -47,15 +46,27 @@ toktab.h: tokens.h lextest: lexer.c tokens.h tokdump.o $(CC) $(CFLAGS) -DMAIN lexer.c tokdump.o -o lextest -cupl.tar: - (cd ..; tar -cvf cupl-$(V)/cupl.tar `cat cupl-$(V)/MANIFEST | sed "/\(^\| \)/s// cupl-$(V)\//g"`) -cupl.tar.gz: cupl.tar - gzip -f cupl.tar +cupl-$(VERS).tar.gz: $(SOURCES) + @ls $(SOURCES) | sed s:^:cupl-$(VERS)/: >MANIFEST + @(cd ..; ln -s cupl cupl-$(VERS)) + (cd ..; tar -czvf cupl/cupl-$(VERS).tar.gz `cat cupl/MANIFEST`) + @(cd ..; rm cupl-$(VERS)) + +cupl-$(VERS).shar: + shar $(SOURCES) >cupl-$(VERS).shar + +dist: cupl-$(VERS).tar.gz + +RPMROOT=/usr/src/redhat +RPM = rpm +RPMFLAGS = -ba +rpm: dist + cp cupl-$(VERS).tar.gz $(RPMROOT)/SOURCES; + cp cupl.spec $(RPMROOT)/SPECS + cd $(RPMROOT)/SPECS; $(RPM) $(RPMFLAGS) cupl.spec + cp $(RPMROOT)/RPMS/`arch|sed 's/i[4-9]86/i386/'`/cupl-$(VERS)*.rpm . + cp $(RPMROOT)/SRPMS/cupl-$(VERS)*.src.rpm . clean: - rm -f cupl *~ *.o toktab.h tokens.h grammar.c lexer.c lextest y.output cupl.tar cupl.tar.gz + rm -f cupl *~ *.o toktab.h tokens.h grammar.c lexer.c lextest y.output cupl.tar cupl.tar.gz *.rpm cupl-*.tar.gz -rpm: cupl.tar.gz - cp cupl.tar.gz /usr/src/SOURCES/cupl-$(V).tar.gz - cp cupl.spec /usr/src/SPECS/cupl-$(V)-1.spec - rpm -ba cupl-$(V)-1.spec diff --git a/READ.ME b/READ.ME index cc438ce..20d2a6a 100644 --- a/READ.ME +++ b/READ.ME @@ -91,18 +91,22 @@ REGRESS -- perform regression test on the front end * GOTO blabel END always goes to the end of the current PERFORM block, even if the label is that of an enclosing block. -* Because the cupl interpreter also interprets CORC, the CORC keywords +* Because the cupl interpreter also interprets CORC, the CUPL keywords BEGIN, DEC, DECREASE, EQL, GEQ, GTR, INC, INCREASE, INT, LSS, NEQ, NOTE, - REPEAT, TITLE, UNTIL, and $ are also reserved words in CUPL. + REPEAT, TITLE, UNTIL, and $ are also reserved words in CORC. Send comments, bug reports, and fixes to esr@snark.thyrsus.com. Also see -my home page at http://www.ccil.org/~esr/home.html for updates and other +my home page at http://www.tuxedo.org/~esr/home.html for updates and other related resources. --------------------------------------------------------------------------- -Version 1.2: +Version 1.3: Thu Jul 27 23:15:53 EDT 2000 + * Cleanup release. Use modern packaging and RPMs. + +Version 1.2: Fri Jun 28 13:12:04 EDT 1996 * Fixed off-by-one bug in TITLE processing. * Merged tour.doc into cupl.mm. * Added "Hello World" program. -Version 1.1: + +Version 1.1: Fri Nov 08 00:00:04 EST 1994 * Added CORC support. * Fixed a core-dump bug in the prettyprinter. diff --git a/cupl.spec b/cupl.spec index ebd65f0..a7ed8ab 100644 --- a/cupl.spec +++ b/cupl.spec @@ -1,10 +1,14 @@ -Description: interpreter for the archaic CUPL and CORC programming languages Name: cupl -Version: 1.1 +Version: 1.3 Release: 1 -Source: locke.ccil.org:/pub/esr/cupl-1.1.tar.gz +Source: locke.ccil.org:/pub/esr/cupl-1.3.tar.gz Copyright: BSD-like Group: Languages +Summary: Interpreter for the archaic CUPL and CORC programming languages. + +%description +Interpreter for the archaic CUPL and CORC programming languages. +Includes full documentation and a chrestomathy of programs. %prep %setup