DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download
Index: M T

⟦3111ed554⟧ TextFile

    Length: 1524 (0x5f4)
    Types: TextFile
    Names: »Makefile«

Derivation

└─⟦52210d11f⟧ Bits:30007239 EUUGD2: TeX 3 1992-12
    └─⟦c319c2751⟧ »unix3.0/TeX3.0.tar.Z« 
        └─⟦036c765ac⟧ 
            └─⟦this⟧ »TeX3.0/CWEB/Makefile« 
└─⟦060c9c824⟧ Bits:30007080 DKUUG TeX 2/12/89
    └─⟦this⟧ »./tex82/CWEB/Makefile« 

TextFile

# 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

MACROSDIR= /usr/lib/tex/macros
DESTDIR= /usr/local/bin/
DESTPREF=
CWEAVE = ./Cweave
CTANGLE = ./Ctangle
SOURCES = Cweave.web common.web Ctangle.web
ALMOSTALL =  common.web Ctangle.web Makefile README common.c common.h Ctangle.c \
	webman.tex cwebmac.tex examples
ALL =  $(ALMOSTALL) Cweave.web
CFLAGS = -O

.SUFFIXES: .tex .dvi .web .print

.web.tex:
	$(CWEAVE) $*

.tex.dvi:	
	tex $*

.web.dvi:
	$(CWEAVE) $*
	tex $*

.web.c:
	$(CTANGLE) $*

.web.o:
	make $*.c
	make $*.o

.dvi.print:
	qpr -x $*.dvi

all: Ctangle Cweave

Ctangle.c: SAVECtangle.c
	cat SAVECtangle.c > Ctangle.c

common.c: SAVEcommon.c
	cat SAVEcommon.c > common.c

Ctangle: Ctangle.o common.o
	cc $(CFLAGS) -o Ctangle Ctangle.o common.o 

Cweave: Cweave.o common.o
	cc $(CFLAGS) -o Cweave Cweave.o common.o

doc: $(SOURCES)
	for i in $?; do make `echo $$i | sed "s/web$$/dvi/"`; done
	@touch doc

#leave *.c
clean:
	rm -f -r *.o common.tex Cweave.tex Cweave.c Ctangle.tex *.log *.dvi core Cweave.web.[12] cweb.*

install: all
	mv Cweave $(DESTDIR)$(DESTPREF)Cweave
	mv Ctangle $(DESTDIR)$(DESTPREF)Ctangle  
	cp cwebmac.tex $(MACROSDIR)

bundle: $(ALL)
	sed -n '1,1500 p' Cweave.web > Cweave.web.1
	sed -n '1501,$$ p' Cweave.web > Cweave.web.2
	/n/fine/usr/local/bin/shar -m100000 -c -v -f cweb $(ALMOSTALL) Cweave.web.[12]