better production process

This commit is contained in:
Michael Kohlhase 2015-01-13 11:12:51 +01:00
parent 09110911b5
commit 0518fc511d

View File

@ -1,3 +1,9 @@
###########################################################################
# Automating proposal management by make.
# The participants work on proposal.tex in "draft" mode, which gives a lot
# of information to the developers. Variants submit.tex and public.tex are
# used to prepare official versions (hiding development/private info).
###########################################################################
# possibly customize the following variables to your setting
PROPOSAL = proposal.tex # the proposal
BIB = ../lib/dummy.bib # bibTeX databases
@ -11,7 +17,7 @@ PDATA = $(PROPOSAL:%.tex=%.pdata) # the proposal project data
SRC = $(filter-out $(TARGET),$(shell ls *.tex)) # included files
PDFLATEX = pdflatex -interaction batchmode -file-line-error
BBL.base = 1
BBL = proposal.bbl $(BBL.base:%=proposal%-blx.bbl)
BBL = $(PROPOSAL:%.tex=%.bbl) $(BBL.base:%=$(PROPOSAL:%.tex=%)%-blx.bbl)
PROPCLS.dir = $(PROP.dir)/base
PROPETC.dir = $(PROP.dir)/etc
DFGPROPCLS.dir = $(PROP.dir)/dfg
@ -24,6 +30,12 @@ PROPCLS = $(PROPCLS.clssty:%=$(PROPCLS.dir)/%) $(DFGPROPCLS.clssty:%=$(DFGPROPCL
all: $(TARGET.pdf)
submit:
$(MAKE) -w PROPOSAL=final.tex all
public:
$(MAKE) -w PROPOSAL=public.tex all
cd: # make cd will prepare CD for burning
mkdir CD;make $(TARGET.pdf); cp $(TARGET.pdf) CD