Debian Codegraph @

texmf-dist/source/latex/proposal/lib/Makefile.vars

raw
1 # DTX.sty.base and DTX.cls.base are set in the including Makefiles
2 DTX.base ?= $(DTX.sty.base) $(DTX.cls.base)
3 DTX.src = $(DTX) $(DTX:%.dtx=%.ins)
4 INS = $(DTX:%.dtx=%.ins)
5
6 DTX.sty = $(DTX.sty.base:%=%.sty)
7 DTX.cls = $(DTX.cls.base:%=%.cls)
8 DTX.pdf = $(DTX:%.dtx=%.pdf)
9
10 # The examples
11 EXAMPLE.pdf = $(EXAMPLE.base:%=%.pdf)
12 EXAMPLE.tex = $(EXAMPLE.base:%=%.tex)
13 EXAMPLE.deps = $(filter-out $(EXAMPLE.base:%=%.tex), $(shell ls *.tex))
14
15 # The TeX Directory Structure (see http://www.tug.org/tds/tds.html)
16 TDSDIR = /tmp/$(TDSCOLL).tds
17 TDSDIR.tex = $(TDSDIR)/tex/latex/$(TDSCOLL)/$(PACKAGE)
18 TDSDIR.doc = $(TDSDIR)/doc/latex/$(TDSCOLL)/$(PACKAGE)
19 TDSDIR.src = $(TDSDIR)/source/latex/$(TDSCOLL)/$(PACKAGE)
20
21 # make a zip for CTAN submission
22 CTANDIR = /tmp/$(TDSCOLL)/$(CTANPREFIX)$(PACKAGE)
23
24 # the dependencies
25 SOURCES = $(DTX.sty) $(BIB)
26 TEXINPUTS := .:$(PREFIX)//:
27 BIBINPUTS := .:$(PREFIX)//:
28 BSTINPUTS := .:$(PREFIX)//:
29
30 # we want to quiet down pdflatex
31 PDFLATEX = pdflatex -interaction batchmode -file-line-error
32
33 # we set the package date for 'make filedate' to today
34 BINDIR = $(PREFIX)/../bin
35 PACKAGEDATE ?= $(shell date "+%Y/%m/%d")
36 FILEDATEPROG = PERL5LIB=$(BINDIR) $(BINDIR)/filedate
37 CHECKSUMPROG = PERL5LIB=$(BINDIR) $(BINDIR)/checksum
38