home *** CD-ROM | disk | FTP | other *** search
- % Copyright (C) 1987 Princeton University
-
- % This file is part of CWEB.
- % This program by Silvio Levy is based on a program by D. E. Knuth.
- % It is distributed WITHOUT ANY WARRANTY, express or implied.
- % $Revision 1.1$ -- Dec 1987
-
- % Please send comments, suggestions, etc. to levy@princeton.
-
- This directory contains the following files:
-
- Makefile
- README
- common.c
- common.h
- common.web
- cwebmac.tex
- examples
- tangle.c
- tangle.web
- vms.ch
- weave.web
-
- (If you got cweb by mail, you probably have weave.web.[12] instead of
- weave.web. The first thing to say then is
-
- cat weave.web.[12] > weave.web
-
- )
-
- In the directory examples there are additional examples of
- the use of CWEB.
- The files common.c and tangle.c are used for bootstrapping.
- Please touch tangle.c and common.c before proceeding.
-
- To make tangle and weave say `make all'; this should produce the
- following actions:
-
- cc -O -w -c tangle.c
- cc -O -w -c common.c
- cc -O -w -o tangle tangle.o common.o
- ./tangle weave
- cc -O -w -c weave.c
- (Some warning error messages will appear here; they're harmless)
- cc -O -w -o weave weave.o common.o
-
- To install weave and tangle say `make install', after modifying
- DESTDIR and DESTPREF as desired. At our site DESTPREF
- is empty, since the original version of WEB is almost never used;
- other sites may want to set DESTPREF=c, so the programs will be
- called `cweave' and `ctangle'. (Perhaps `weave' and `tangle' should
- be shell scripts, with flags to choose between the PASCAL and C
- versions.)
-
- A change file for vms is also provided. There are only two
- changes, so common.c can be edited by hand.
-