4.4BSD/usr/src/contrib/mh-6.8/papers/mh4mm/Makefile
#########################################################################
# Instructions to Make, for generation of nice-looking papers using LaTeX
#########################################################################
.SUFFIXES: .pic .web .tex .dvi .imp
.pic.tex:; tpic $<
.web.tex:; sh -c 'if weave $<; 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 $@ $<
#############################################################
# Here it is...
#############################################################
all: i-all
print: i-print
#############################################################
# mh4mm
#############################################################
i-all: mh4mm.dvi
i-print: mh4mm.dvi true
dvisp $(DFLAGS) -J Mh4mm mh4mm
true:;
##############################################################################
# Miscellaneous tasks
##############################################################################
distribution: clean
rm -f mh4mm.dvi mh4mm.imp
clean:; rm -f mh4mm.log mh4mm.blg mh4mm.tmp _*