# # USE GMAKE!!! not make # Should work with either old LaTeX version 2.09 or newer version 2e. LATEX = latex # gmake allows VPATH, a list of places to look for files. # Edit VPATH to be the directory containing the individual # .tex files. VPATH = /data/doright2/proceedings/adass96/papers # doright # VPATH = /home/kochab_1/hpayne/adass/papers # kochab TEXINPUTS = ".:..:$(VPATH)" # Eric: The ADASS books get reduced when photographed. I worked # with TeX pages at the size of the book, and then scaled them up # to make the proofs that I sent the publisher. You probably # don't care about that. If not, take out "-x 1095" and edit the # style file definitions to remove the lines scaling down the # dimensions of the page. You may also need to pick a bigger font # by putting 11pt as a documentstyle option. DVIPS = dvips -x 1095 -Phplj4 -f # Make an entry for each paper in the book. .ltx is the extension # put on files processed through sed to make them ready to go into # the book. PAPERS = \ abbottm.ltx accomazzia.ltx agafonovm.ltx albrechtm.ltx \ albrechtr.ltx allens.ltx ballesterp.ltx belld.ltx \ brownl.ltx bushouseh.ltx buskoi.ltx chans1.ltx \ chans2.ltx chavana.ltx cheny.ltx \ clarked.ltx comeaut.ltx \ conrada.ltx conroym.ltx corcoranm.ltx cornwellt.ltx \ dalyp.ltx davisl.ltx devriesc.ltx does.ltx \ eliasn.ltx esfandiaria.ltx farrisa.ltx ferlandg.ltx \ fitzpatrickm.ltx gabrielc1.ltx gabrielc2.ltx gabrielc3.ltx \ gaffneyn.ltx gilesa.ltx grosbolp.ltx hanischr.ltx \ harringtonj.ltx hawkinsr.ltx heh.ltx hellerc.ltx \ herreroj.ltx higgsl.ltx hookr.ltx huygene.ltx \ hydep.ltx jennesst.ltx karovska1.ltx keegstrap.ltx \ kimys.ltx konovalovs1.ltx konovalovs2.ltx lindepe.ltx \ liszth.ltx llebariaa1.ltx llebariaa2.ltx longinottia.ltx \ malkovo.ltx mandele.ltx marechalp.ltx mcglynnt.ltx \ micola.ltx minkd.ltx nguyend.ltx noordamj.ltx \ oknyanskijv.ltx olsone.ltx otts.ltx pagec.ltx \ paswaterss.ltx pencew.ltx pencew2.ltx pirenneb.ltx \ planter.ltx robertsd.ltx rosam.ltx rosej.ltx \ rotsa.ltx schulmane.ltx seamanr1.ltx seamanr2.ltx \ shawr.ltx shepherdm.ltx shopbellp.ltx smaregliar.ltx \ smirnovo1.ltx smirnovo2.ltx sterni.ltx stobiee.ltx \ taidakovat.ltx taylori.ltx teubenp.ltx theilerj.ltx \ tilanusr.ltx todyd.ltx tokarzs.ltx travisanoj.ltx tsutsumit.ltx \ valdesf1.ltx valdesf2.ltx vasilyevs.ltx vavilova.ltx \ verkhodanov1.ltx verkhodanov2.ltx verkhodanov3.ltx \ vityazevv1.ltx vityazevv2.ltx wangd.ltx wellsd.ltx \ wellsd1.ltx \ wiceneca.ltx williamsonr.ltx wisem.ltx wun.ltx \ yoshidam.ltx youngp.ltx zacherr.ltx \ testit.ltx # preface.tex participants.tex photograph.tex # Make an entry for each figure only if you are editing the figures, # and want the book to depend on the figures. FIGURES = \ albrechtm1.eps albrechtm2.eps ballesterp.eps buskoi1.eps \ buskoi2.eps buskoi3.eps buskoi4.eps buskoi5.eps \ chans1_1a.eps chans1_1b.eps chans2_1a.eps chans2_1b.eps \ chavana1.eps chavana2.eps \ cheny1.eps cheny2.eps cheny3.eps conroym1.eps conroym2.eps \ devriesc1.eps devriesc2.eps devriesc3.eps does1.eps \ esfandiaria1.eps esfandiaria2.eps farrisa1.eps farrisa2.eps \ ferlandg1.eps ferlandg2.eps ferlandg3.eps gaffneyn1.eps \ gaffneyn2.eps grosbolp1.eps hawkinsr.eps heh.eps \ herreroj1.eps higgsl1.eps hookr1.eps hookr2.eps \ huygene.eps jennesst.eps karovska1.eps keegstrap1.eps \ kimys1.eps konovalovs2.eps lindep1.eps lindep2.eps \ llebariaa2_1.eps longinottia1.eps longinottia2.eps malkovo1.eps \ malkovo2.eps marechalp1.eps marechalp2.eps marechalp3.eps \ marechalp4.eps minkd1.eps minkd2.eps noordamj.eps \ oknyanskijv1.eps oknyanskijv2.eps otts.eps paswaterss1.eps \ paswaterss2.eps pirenneb1.eps pirenneb2.eps planter.eps \ robertsd.eps rotsa.eps schulmane1.eps schulmane2.eps \ seamanr2_1.eps seamanr2_2.eps shepherdm.eps smaregliar1.eps \ smaregliar2.eps smirnovo1.eps stobiee1.eps stobiee2.eps \ taidakt1.eps taidakt2.eps taylori1.eps taylori2.eps \ taylori3.eps teubenp1.eps teubenp2.eps theilerj1.eps \ tilanusr1.eps tilanusr2.eps tsutsumit1.eps tsutsumit2.eps \ valdesf1.eps valdesf2.eps verkhodanov1_1.eps verkhodanov1_2.eps \ verkhodanov2_1.eps verkhodanov2_2.eps verkhodanov2_3.eps \ verkhodanov3_1.eps \ verkhodanov3_2.eps wangd.eps williamsonr1.eps wisem1.eps \ wisem2.eps wun1.eps wun2.eps wun3.eps \ wun4.eps yoshidam1.eps yoshidam2.eps youngp1.eps \ zacherr1.eps zacherr2.eps book.ps: book.dvi #$(FIGURES) photo.eps: photo.dvi adassgrp.ps $(DVIPS) -E photo > photo.eps book.dvi: $(PAPERS) book.aind book.ind adass96.sty aspconf.sty test.ps: test.dvi test.dvi: $(PAPERS) test.aind test.ind #$(FIGURES)# test.aind test.ind adass96.sty aspconf.sty # # Clean up files that can be easily made again: clean: rm -f *.ltx *.aind *.aind.temp *.aidx rm -f *.ind *.idl *.ilg *.aux *.toc *.log realclean: rm -f *.ltx *.aind *.aind.temp *.aidx rm -f *.ind *.idl *.ilg *.aux *.toc *.log rm -f *.dvi *.ps update_papers: $(PAPERS) # New suffixes for new rules. # # .ltx are files prepared by filtering the .tex files from the # ../papers directory # .tex, .dvi, .ps you know # .idx is the makeindex input file, produced by latex # .ind is the makeindex output file .SUFFIXES: .ltx .tex .dvi .ps .ind .idx .aind .aidx .html .tex.ltx: sed "s/\\\\documentstyle/{% &/" $< | \ sed "s/\\\\begin{document}/% &/" | \ sed "s/\\\\nofiles/% &/" | \ sed "s/\\\\title/\\\\chapter/" | \ sed "s/\\\\begin{abstract}/\\\\label{$*}&/" | \ sed "s/\\\\end{document}/}% &/" > $@ .ltx.dvi: $(LATEX) $* .tex.dvi: $(LATEX) $* .dvi.ps: dvips -x 1095 -Phplj4 -f $< |sed "s/Feature: \\*Resolution 600dpi//" > $*.ps .idx.ind: makeindex $< .tex.aidx: $(LATEX) $* .tex.idx: $(LATEX) $* .aidx.aind: rm -f $@ $@.temp makeindex -o $@.temp $< sed "s/\\\\begin{theindex}/\\\\begin{theaindex}/" $@.temp | sed "s/\\\\end{theindex}/\\\\end{theaindex}/" > $@