# # 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_currents - Elton Smith 06/22/10 # short_response - Elton Smith 09/24/10 # short_cover - Elton Smith 09/24/10 -- use pdflatex # solenoid_replacement - Elton Smith 10/15/10 -- use pdflatex # bcal_prod_guides - Elton Smith 06/08/11 -- use pdflatex # bcal_voltage_settings - Elton Smith 26/09/14 -- use pdflatex # photon_rates - Elton Smith 10/21/14 -- use pdflatex # double_slit - Elton Smith 11/12/14 -- use pdflatex # bcal_constants - Elton Smith 12/02/14 -- use pdflatex # SiPM_testing_comparison - Elton Smith 01/19/16 -- use pdflatex # smith_lasnpa - Elton Smith 01/19/16 -- use pdflatex # smith_instrumentation_lasnpa - Elton Smith 01/19/16 -- use for tar.gz file for proceedings # # TEX_FILES_0 = smith_lasnpa 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 = EPS_FILES = $(addsuffix .eps,$(EPS_FILES_0)) # add .eps suffix PDF_FILES_0 = gluex_overview bcalsketch MPPC_sketch plot_sipm_parms PDF_FILES = $(addsuffix .pdf,$(PDF_FILES_0)) # add .pdf suffix PNG_FILES_0 = MPPC_photo Spectrum_ADC_USM Chiller_manifold DR_vs_fluence \ Pulse_height_damage IVcurve_damage Annealing pi0peak PNG_FILES = $(addsuffix .png,$(PNG_FILES_0)) # add .png suffix C_FILES_0 = C_FILES = $(addsuffix .C,$(C_FILES_0)) # add .C suffix py_FILES_0 = py_FILES = $(addsuffix .py,$(py_FILES_0)) # add .py suffix all : smith_lasnpa.pdf smith_lasnpa.pdf : $(TEX_FILES) Makefile smith_lasnpa.bbl $(PDF_FILES) # make pdf pdflatex smith_lasnpa.tex pdflatex smith_lasnpa.tex smith_lasnpa.bbl : smith_lasnpa.bib $(TEX_FILES) $(PS_FILES) $(EPS_FILES) pdflatex smith_lasnpa bibtex smith_lasnpa tar : $(TEX_FILES) $(PDF_FILES) # tar files; will remove old tar files rm -f smith_instrumentation_lasnpa.tar rm -f smith_instrumentation_lasnpa.tar.gz rm -rf smith_instrumentation_lasnpa mkdir smith_instrumentation_lasnpa cp smith_lasnpa.bib smith_instrumentation_lasnpa cp $(TEX_FILES) smith_instrumentation_lasnpa cp $(PDF_FILES) smith_instrumentation_lasnpa cp $(PNG_FILES) smith_instrumentation_lasnpa cp aip* smith_instrumentation_lasnpa # cp $(C_FILES) smith_instrumentation_lasnpa # cp $(py_FILES) smith_instrumentation_lasnpa cp smith_lasnpa.pdf smith_instrumentation_lasnpa cp Makefile smith_instrumentation_lasnpa # cp smith_lasnpa.ps smith_instrumentation_lasnpa # cp $(EPS_FILES) smith_instrumentation_lasnpa # cp $(PS_FILES) smith_instrumentation_lasnpa tar cvf smith_instrumentation_lasnpa.tar smith_instrumentation_lasnpa gzip smith_instrumentation_lasnpa.tar # rm -rf smith_instrumentation_lasnpa %.pdf : %.tex pdflatex $* pdflatex $* %.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 # clean: rm -f smith_lasnpa.dvi smith_lasnpa.ps