diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/proposal/lib/Makefile.vars |
Initial commit
Diffstat (limited to 'macros/latex/contrib/proposal/lib/Makefile.vars')
-rw-r--r-- | macros/latex/contrib/proposal/lib/Makefile.vars | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/macros/latex/contrib/proposal/lib/Makefile.vars b/macros/latex/contrib/proposal/lib/Makefile.vars new file mode 100644 index 0000000000..6155fee090 --- /dev/null +++ b/macros/latex/contrib/proposal/lib/Makefile.vars @@ -0,0 +1,38 @@ +# DTX.sty.base and DTX.cls.base are set in the including Makefiles +DTX.base ?= $(DTX.sty.base) $(DTX.cls.base) +DTX.src = $(DTX) $(DTX:%.dtx=%.ins) +INS = $(DTX:%.dtx=%.ins) + +DTX.sty = $(DTX.sty.base:%=%.sty) +DTX.cls = $(DTX.cls.base:%=%.cls) +DTX.pdf = $(DTX:%.dtx=%.pdf) + +# The examples +EXAMPLE.pdf = $(EXAMPLE.base:%=%.pdf) +EXAMPLE.tex = $(EXAMPLE.base:%=%.tex) +EXAMPLE.deps = $(filter-out $(EXAMPLE.base:%=%.tex), $(shell ls *.tex)) + +# The TeX Directory Structure (see http://www.tug.org/tds/tds.html) +TDSDIR = /tmp/$(TDSCOLL).tds +TDSDIR.tex = $(TDSDIR)/tex/latex/$(TDSCOLL)/$(PACKAGE) +TDSDIR.doc = $(TDSDIR)/doc/latex/$(TDSCOLL)/$(PACKAGE) +TDSDIR.src = $(TDSDIR)/source/latex/$(TDSCOLL)/$(PACKAGE) + +# make a zip for CTAN submission +CTANDIR = /tmp/$(TDSCOLL)/$(CTANPREFIX)$(PACKAGE) + +# the dependencies +SOURCES = $(DTX.sty) $(BIB) +TEXINPUTS := .:$(PREFIX)//: +BIBINPUTS := .:$(PREFIX)//: +BSTINPUTS := .:$(PREFIX)//: + +# we want to quiet down pdflatex +PDFLATEX = pdflatex -interaction batchmode -file-line-error + +# we set the package date for 'make filedate' to today +BINDIR = $(PREFIX)/../bin +PACKAGEDATE ?= $(shell date "+%Y/%m/%d") +FILEDATEPROG = PERL5LIB=$(BINDIR) $(BINDIR)/filedate +CHECKSUMPROG = PERL5LIB=$(BINDIR) $(BINDIR)/checksum + |