view papers/mh6.5/Makefile @ 0:bce86c4163a3

Initial revision
author kono
date Mon, 18 Apr 2005 23:46:02 +0900
parents
children
line wrap: on
line source

#########################################################################
# 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


#############################################################
# mh6
#############################################################

i-all:		mh6.dvi

i-print:	mh6.dvi true
		dvisp $(DFLAGS) -J mh6 mh6


# customization files, et. al., not included below
mh6.dvi:	mh6.vrsn

mh6.vrsn:	mh6.tex version.sh
		@: version.sh mh6

biblio:;	bibtex mh6

index:;		idx2ind mh6
		sed -e 's|%\\newindex|\\newindex|' < mh6.ind > mh6.tmp
		mv mh6.tmp mh6.ind

true:;


##############################################################################
#	Miscellaneous tasks
##############################################################################

distribution:   clean
		rm -f mh6.dvi mh6.imp

clean:;		rm -f mh6.log mh6.blg mh6.tmp _*