# # 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 # bdx_C1 - Elton Smith 04/03/15 -- use pdflatex # rhos_amp - Elton Smith 10/03/16 -- use pdflatex # sigma_amp - Elton Smith 07/26/18 -- use pdflatex # # # TEX_FILES_0 = rhos_amp rhosZ_amp rhosZ_accidentals sigma_amp TEX_FILES_0 = rhosZ_accidentals sigma_amp 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 = twopi_amp twopiSSW_SSW CPP_production2 Accidentals_TAG \ Accidentals_TAG10 Accidentals_TAG40 twopi_distributions_TAG10 twopi_acceptance_TAG10 \ twopi_results_TAG10 fits_errors PDF_FILES = $(addsuffix .pdf,$(PDF_FILES_0)) # add .pdf suffix C_FILES_0 = fits_errors C_FILES = $(addsuffix .C,$(C_FILES_0)) # add .C suffix all : rhos_amp.pdf rhosZ_amp.pdf rhosZ_accidentals.pdf sigma_amp.pdf rhos_amp.pdf : $(TEX_FILES) Makefile rhos_amp.bbl $(PS_FILES) \ $(EPS_FILES) # make the pdf file pdflatex rhos_amp.tex pdflatex rhos_amp.tex rhosZ_amp.pdf : $(TEX_FILES) Makefile rhos_amp.bbl $(PS_FILES) \ $(EPS_FILES) # make the pdf file pdflatex sigma_amp.tex pdflatex sigma_amp.tex rhosZ_accidentals.pdf : $(TEX_FILES) Makefile rhos_amp.bbl $(PS_FILES) \ $(EPS_FILES) # make the pdf file pdflatex rhosZ_accidentals.tex pdflatex rhosZ_accidentals.tex sigma_amp.pdf : $(TEX_FILES) Makefile rhos_amp.bbl $(PS_FILES) \ $(EPS_FILES) # make the pdf file pdflatex sigma_amp.tex pdflatex sigma_amp.tex rhos_amp.bbl : rhos_amp.bib $(TEX_FILES) $(PS_FILES) $(EPS_FILES) pdflatex rhos_amp bibtex rhos_amp tar : $(TEX_FILES) $(PS_FILES) $(EPS_FILES) # tar files; will remove old tar files rm -f rhos_amp.tar rm -f rhos_amp.tar.gz rm -rf rhos_amp mkdir rhos_amp # cp rhos_amp.ps rhos_amp cp rhos_amp.bib rhos_amp cp $(TEX_FILES) rhos_amp # cp $(EPS_FILES) rhos_amp # cp $(PS_FILES) rhos_amp cp $(PDF_FILES) rhos_amp # cp $(C_FILES) rhos_amp # cp rhos_amp.pdf rhos_amp cp rhosZ_accidentals.pdf rhos_amp cp Makefile rhos_amp tar cvf rhos_amp.tar rhos_amp gzip rhos_amp.tar # rm -rf rhos_amp %.ps : %.dvi dvips -t letter -o $*.ps $* dvipdf $*.dvi $*.pdf %.dvi : %.tex latex $* latex $* %.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 # # % : %.dvi # 'rm' -rf $* # latex2html $* # produce html pages clean: rm -f rhos_amp.dvi rhos_amp.ps