# # 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_saturation - Elton Smith 7/13/18 -- use pdflatex # # TEX_FILES_0 = SiPM_saturation 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 = SiPM_saturation_calc BCAL_SiPM_data_42389_001 \ hd_root_particle_gun_Photons_gensat_correct0_030746_000 JPsi_BCAL_correction PDF_FILES = $(addsuffix .pdf,$(PDF_FILES_0)) # add .pdf suffix C_FILES_0 = SiPM_saturation_calc C_FILES = $(addsuffix .C,$(C_FILES_0)) # add .C suffix all : SiPM_saturation.pdf SiPM_saturation.pdf : $(TEX_FILES) Makefile SiPM_saturation.bbl $(PS_FILES) $(EPS_FILES) # make the pdf file pdflatex SiPM_saturation.tex pdflatex SiPM_saturation.tex SiPM_saturation.bbl : SiPM_saturation.bib $(TEX_FILES) $(PS_FILES) $(EPS_FILES) pdflatex SiPM_saturation bibtex SiPM_saturation tar : $(TEX_FILES) $(PS_FILES) $(EPS_FILES) # tar files; will remove old tar files rm -f SiPM_saturation.tar rm -f SiPM_saturation.tar.gz rm -rf SiPM_saturation mkdir SiPM_saturation # cp SiPM_saturation.ps SiPM_saturation cp SiPM_saturation.bib SiPM_saturation cp $(TEX_FILES) SiPM_saturation # cp $(EPS_FILES) SiPM_saturation # cp $(PS_FILES) SiPM_saturation cp $(PDF_FILES) SiPM_saturation cp $(C_FILES) SiPM_saturation cp SiPM_saturation.pdf SiPM_saturation cp Makefile SiPM_saturation tar cvf SiPM_saturation.tar SiPM_saturation gzip SiPM_saturation.tar # rm -rf SiPM_saturation %.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 SiPM_saturation.dvi SiPM_saturation.ps