Skip to content

Commit

Permalink
Update Makefile for workflow targets
Browse files Browse the repository at this point in the history
  • Loading branch information
mcdittmar committed Mar 12, 2024
1 parent 498a4b6 commit 219ac7b
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion doc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,16 @@ FILES = ${SOURCES} ${SCHEMA} specrc3.html ${FIGURES}
HFILES = SpectrumDM-${SDATE}.pdf SpectrumDM-${SDATE}.html ${SCHEMA} ${FIGURES}

clean:
rm -f Spectrum.pdf Spectrum.ps Spectrum.log Spectrum.dvi Spectrum.out Spectrum.aux Spectrum.toc
rm -f Spectrum-draft.pdf Spectrum.pdf Spectrum.ps Spectrum.log Spectrum.dvi Spectrum.out Spectrum.aux Spectrum.toc

# Git workflow target - release
Spectrum.pdf: doc

# Git workflow target - preview
Spectrum-draft.pdf: doc
cp Spectrum.pdf Spectrum-draft.pdf

# development target
doc: Spectrum.tex
pdflatex Spectrum
pdflatex Spectrum
Expand Down

0 comments on commit 219ac7b

Please sign in to comment.