From 219ac7b434da6f71a674b961f1c7d275574cfbdc Mon Sep 17 00:00:00 2001 From: mcdittmar Date: Tue, 12 Mar 2024 11:05:50 -0400 Subject: [PATCH] Update Makefile for workflow targets --- doc/Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/doc/Makefile b/doc/Makefile index 491fd77..b64aeea 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -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