From: Eric S. Raymond Date: Tue, 30 Jul 2002 11:36:11 +0000 (+0000) Subject: Define SOURCES. X-Git-Tag: 1-4~13 X-Git-Url: http://thyrsus.com/gitweb/?a=commitdiff_plain;h=8610aab8ee1f9487aefc672c8c5a3e6ac23009d3;p=cupl.git Define SOURCES. --- diff --git a/Makefile b/Makefile index 5cf7281..f041769 100644 --- a/Makefile +++ b/Makefile @@ -46,15 +46,15 @@ toktab.h: tokens.h lextest: lexer.c tokens.h tokdump.o $(CC) $(CFLAGS) -DMAIN lexer.c tokdump.o -o lextest -cupl-$(VERS).tar.gz: $(SOURCES) - @ls $(SOURCES) | sed s:^:cupl-$(VERS)/: >MANIFEST +DOCS = READ.ME corc.doc cupl.doc cupl.xml cupl.lsm +SOURCES = Makefile cupl.[lyh] $(MODULES:.o=.c) + +cupl-$(VERS).tar.gz: $(SOURCES) $(DOCS) + @ls $(SOURCES) $(DOCS) | 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 diff --git a/READ.ME b/READ.ME index 20d2a6a..ae92430 100644 --- a/READ.ME +++ b/READ.ME @@ -1,5 +1,5 @@ CUPL and CORC for UNIX - by Eric S. Raymond + by Eric S. Raymond This directory contains sources for cupl, a UNIX implementation of CUPL, the Cornell University Programming Language. It also interprets CORC, the @@ -18,7 +18,7 @@ CORC is a near-subset of CUPL. There are some minor differences in keywords. In CORC, the statement GO TO is equivalent to CUPL's GO TO END. The cupl implementation is a Retrocomputing Museum project. The Retrocomputing -Museum revives long-dead languages +Museum revives long-dead languages for the benefit of students and historians of programming-language design. CUPL was chosen as a representative of a significant class of mid-1960s teaching languages. @@ -30,7 +30,7 @@ Files: READ.ME -- this file cupl.doc -- transcription of the original CUPL documentation corc.doc -- transcription of the original CORC documentation -cupl.mm -- description and discussion of the language +cupl.xml -- description and discussion of the language Source files