# # 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 # CalEff - Elton Smith 12/21/18 -- use pdflatex # CostheEff - Elton Smith 04/19/19 -- use pdflatex # # TEX_FILES_0 = CalEff CostheEff TEX_FILES = $(addsuffix .tex,$(TEX_FILES_0)) # add .tex suffix PNG_FILES_0 = Vectors Vectors2 baryon_production R30345_MassPiPi baryon_production R30345_MassPiPi PNG_FILES = $(addsuffix .png,$(PNG_FILES_0)) # add .png suffix EPS_FILES_0 = EPS_FILES = $(addsuffix .eps,$(EPS_FILES_0)) # add .eps suffix PDF_FILES_0 = Vectors Vectors2 AnglesCMLab_energy_1000_50_52_36_509 \ AnglesCMLab_palab_1000_50_52_36_509 AnglesCMLab_palab_1000_50_52_36_255 \ AnglesCMLab_energy_1000_50_52_36_255 AnglesCMLab_palab_2000_50_52_36_412 \ AnglesCMLab_energy_2000_50_52_36_412 AnglesCMLab_eff_energy_2000_50_52_36_412 \ plot_compare_DataMC_030345_Chi2leq5_Epi1FVTag plot_compare_DataMC_030345_Chi2leq5_Epi1FVTagMassD_may6 \ plot_summary2DEff_Chi2leq5_Epi1FVTag plot_summary2DEff_Chi2leq5_Epi1FVTagMassD_may6 \ plot_compare_DataMC_030345_Chi2leq5_Epi1FVTag \ plot_summary2DEff_Chi2leq5_Epi1FVTag plot_summary2DEff_Chi2leq5_Epi1FVTagMassD_may6 \ plot_compare_DataMC_030796-030900_jun19 plot_compare2DEff_jun19 plot_compare_fcal_jun19 \ plot_compare_fcal_Chi2le25 PDF_FILES = $(addsuffix .pdf,$(PDF_FILES_0)) # add .pdf suffix C_FILES_0 = Vectors Vectors2 AnglesCMLab C_FILES = $(addsuffix .C,$(C_FILES_0)) # add .C suffix all : CalEff.pdf CostheEff.pdf CalEff.pdf : $(TEX_FILES) Makefile CalEff.bbl $(PNG_FILES) $(EPS_FILES) # make the pdf file pdflatex CalEff.tex pdflatex CalEff.tex CalEff.bbl : CalEff.bib $(TEX_FILES) $(PNG_FILES) $(EPS_FILES) pdflatex CalEff bibtex CalEff pdflatex CostheEff bibtex CostheEff CostheEff.pdf : $(TEX_FILES) Makefile CalEff.bbl $(PNG_FILES) $(EPS_FILES) # make the pdf file pdflatex CostheEff.tex pdflatex CostheEff.tex tar : $(TEX_FILES) $(PNG_FILES) $(EPS_FILES) # tar files; will remove old tar files rm -f CalEff.tar rm -f CalEff.tar.gz rm -rf CalEff mkdir CalEff # cp CalEff.ps CalEff cp CalEff.bib CalEff cp $(TEX_FILES) CalEff # cp $(EPS_FILES) CalEff cp $(PNG_FILES) CalEff cp $(PDF_FILES) CalEff cp $(C_FILES) CalEff cp CalEff.pdf CalEff cp Makefile CalEff tar cvf CalEff.tar CalEff gzip CalEff.tar # rm -rf CalEff %.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 CalEff.dvi CalEff.ps