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: T m

⟦792d36b54⟧ TextFile

    Length: 3877 (0xf25)
    Types: TextFile
    Names: »maXefile.make«

Derivation

└─⟦3d0c2be1b⟧ Bits:30001254 ISODE-5.0 Tape
    └─⟦eba4602b1⟧ »./isode-5.0.tar.Z« 
        └─⟦d3ac74d73⟧ 
            └─⟦this⟧ »isode-5.0/others/max/maXefile.make« 
└─⟦2d1937cfd⟧ Bits:30007241 EUUGD22: P.P 5.0
    └─⟦35176feda⟧ »EurOpenD22/isode/isode-6.tar.Z« 
        └─⟦de7628f85⟧ 
            └─⟦this⟧ »isode-6.0/others/max/maXefile.make« 

TextFile

#########################################################################
#
# maXefile - site-dependent initialization file for maXe
#
# This file is read by the shell script maXe, usually when invoked
# under max, e.g., in the user's .maXdefaults file:
#
#	functions.show.command:	f.exec /usr/new/lib/X/maXe display -k -- %F
#
# This might be run by max as:
#
#	/usr/lib/new/X/maXe display -k -- 3.tex 8.xwd 14.imp
#
# In turn, maXe will run:
#
#	make -f @(LIBDIR)/maXefile -k 3.display 8.display 14.display
#
# In turn, make will run something like:
#
#	more 1.ia5
#	make -f @(LIBDIR)/maXefile 3.dvi
#	xdvi 3
#	xwud < 8.xwd
#	ximpv 14.imp
#
#########################################################################


# Heading
#	0.hdr		P2 heading
#	.dlv		delivery info
#
# Body Parts (X.400)
#	.ia5		IA5 text
#	.tlx		Telex
#	.voice		Voice
#	.g3fax		G3 facsimile
#	.tif0		TIF0
#	.ttx		Teletex
#	.vtx		Videotex
#	.nat		Nationally Defined
#	.enc		Encrypted
#	.fip		Forwarded IP Message
#	.sfd		Simple Formattable Document
#	.tif1		TIF1
#	.bilt		Bilateral
#	.extn		External
#
# Body Parts (UNIX)
#	.b		IS68K bitmap
#	.xb		X Windows bitmap
#	.xwd		X Windows window dump
#	.c		C
#	.grf		UNIX graph input
#	.pic		UNIX pic/tpic input
#	.plt		UNIX graph output
#	.s		assembly
#	.web		WEB
#	.tex		TeX
#	.dvi		DVI
#	.imp		imPress
#
#
# Functions
#	.edit		edit
#	.display	display
#	.print		laser print

.SUFFIXES:	.hdr .dlv \
		.ia5 .tlx .voice .g3fax .tif0 .ttx .vtx .nat .enc .fip .sfd \
			.tif1 .bilt .extn \
		.b .xb .xwd .c .grf .pic .plt .s .web .tex .dvi .imp \
		.edit .display .print


#########################################################################
# Part one: Dependencies
#########################################################################

.b.tex:;	itbit $<

.xb.tex:;	xtbit $<

.xwd.tex:;	xtwd #<

.c.tex:;	sh -c 'if tgrind -f -lc $< | sed -e 1d -e \$$d > $@; \
			then exit 0; else rm $@; exit 1; fi'

.grf.tex:;	sh -c 'if graph < $< | plot -TeX > $@; \
			then exit 0; else rm $@; exit 1; fi'

.pic.tex:;	tpic $<

.plt.tex:;	sh -c 'if plot -TeX < $< > $@; \
			then exit 0; else rm $@; exit 1; fi'

.s.tex:;	sh -c 'if tgrind -f -la68k $< | sed -e 1d -e \$$d > $@; \
			then exit 0; else rm $@; exit 1; fi'

.web.tex:;	sh -c 'if weave $<; then exit 0; else rm $@; exit 1; fi'

.web.dvi:;	sh -c 'if weave $<; then exit 0; else rm $@; exit 1; fi'
		sh -c 'if tex82 \\nonstopmode\\input $<; \
			  then exit 0; else rm $@; exit 1; fi'

.tex.dvi:;	sh -c 'if latex \\nonstopmode\\input $<; \
			  then exit 0; else rm $@; exit 1; fi'

.dvi.imp:;	dviimp $(DFLAGS) -i $@ $<


#########################################################################
# Part two: Actions
#########################################################################

.ia5.edit:;	emacs $<

.ia5.display:;	more $<

.ia5.print:;	iprint $<

.b.edit:;	up $<

.xb.edit:;	bitmap $<

.xwd.display:;	xwud < $<

.xwd.print:;	bitimp -a xwdimp -p $<

.c.edit .grf.edit .pic.edit .s.edit:
		emacs $<

.c.display .s.display:
		more $<

.b.display .xb.display .grf.display .pic.display .plt.display:
		make -f @(LIBDIR)/maXefile $(MFLAGS) $*.tex
		-tex82 \\nonstopmode\\def\\dispfigure{$*}\\input printpic\\bye
		xdvi -l printpic.dvi
		-rm -f $*.tex printpic.dvi printpic.log

.c.print:;	tgrind -lc $<

.b.print .xb.print .grf.print .pic.print .plt.print:
		make -f @(LIBDIR)/maXefile $(MFLAGS) $*.tex
		-tex82 \\nonstopmode\\def\\dispfigure{$*}\\input printpic\\bye
		dvisp -Xl -J "$*" $(DFLAGS) printpic.dvi
		-rm -f $*.tex printpic.dvi printpic.log

.s.print:;	tgrind -la68k $<

.web.edit .tex.edit:
		emacs $<

.web.display .tex.display:
		make -f @(LIBDIR)/maXefile $(MFLAGS) $*.dvi
		xdvi $*

.web.print .tex.print:
		make -f @(LIBDIR)/maXefile $(MFLAGS) $*.dvi
		dvisp $(DFLAGS) $*.dvi

.dvi.display:;	xdvi $<

.dvi.print:;	dvisp $(DFLAGS) $<

.imp.display:;	ximpv $<

.imp.print:;	lpr -v $<