# # Makefile to latex document, uncompress .ps files etc... # original version : Mark Ito # modified: # # use for hadron05 paper - Elton Smith 9/30/03 # html output de-activated for now # halld_safety - Elton Smith 10/16/06 # cc_geometry - Elton Smith 10/16/06 # bcal_specs - Elton Smith 04/02/07 # halld_specs - Elton Smith 08/27/07 # feldman_cousins - Elton Smith 09/17/07 # feldman_cousins systematics - Elton Smith 08/05/08 # cdc_segments - Elton Smith 09/31/08 # sipm_cooling - Elton Smith 09/31/08 # b1pi_studies - Elton Smith 02/24/10 # b1_pi studies - Elton Smith 03/18/10 # gen_eta studies - Elton Smith 04/26/10 # short_cooling - Elton Smith 07/14/10 # # TEX_FILES_0 = short_cooling TEX_FILES = $(addsuffix .tex,$(TEX_FILES_0)) # add .tex suffix PS_FILES_0 = PS_FILES = $(addsuffix .ps,$(PS_FILES_0)) # add .ps suffix EPS_FILES_0 = cooling_short thermal_properties_c1 steady_state3_c1_2.5mm_x10 steady_state3_c1_5mm_x10 \ steady_state3_c1_25mm_x10 steady_state3_c1_250mm_x10 steady_state3_c1_2.5mm \ steady_state3_c1_5mm steady_state3_c1_25mm steady_state3_c1_250mm steady_state3_c1_0.35mm \ steady_state3_c1_300mm steady_state2_c1_0.35mm steady_state2_c1_0.35mm_alpha EPS_FILES = $(addsuffix .eps,$(EPS_FILES_0)) # add .eps suffix PDF_FILES_0 = PDF_FILES = $(addsuffix .pdf,$(PDF_FILES_0)) # add .pdf suffix C_FILES_0 = steady_state2 steady_state3 thermal_properties debye_temp C_FILES = $(addsuffix .C,$(C_FILES_0)) # add .C suffix all : short_cooling.ps short_cooling.dvi : $(TEX_FILES) Makefile short_cooling.bbl $(PS_FILES) \ $(EPS_FILES) # make the dvi file latex short_cooling latex short_cooling short_cooling.bbl : short_cooling.bib $(TEX_FILES) $(PS_FILES) $(EPS_FILES) latex short_cooling bibtex short_cooling tar : $(TEX_FILES) $(PS_FILES) $(EPS_FILES) # tar files; will remove old tar files rm -f short_cooling.tar rm -f short_cooling.tar.gz rm -rf short_cooling mkdir short_cooling cp short_cooling.ps short_cooling cp short_cooling.bib short_cooling cp $(TEX_FILES) short_cooling cp $(EPS_FILES) short_cooling # cp $(PS_FILES) short_cooling # cp $(PDF_FILES) short_cooling cp $(C_FILES) short_cooling cp short_cooling.pdf short_cooling cp Makefile short_cooling tar cvf short_cooling.tar short_cooling gzip short_cooling.tar # rm -rf short_cooling %.ps : %.dvi dvips -t letter -o $*.ps $* dvipdf $*.dvi $*.pdf %.dvi : %.tex latex $* latex $* %.ps : %.ps.gz gunzip -l $*.ps.gz rm -f $*.ps gunzip -c $*.ps.gz > $*.ps %.eps : %.eps.gz gunzip -l $*.eps.gz rm -f $*.eps gunzip -c $*.eps.gz > $*.eps # # % : %.dvi # 'rm' -rf $* # latex2html $* # produce html pages clean: rm -f short_cooling.dvi short_cooling.ps