Commit 55a1c6c1 authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

Fix compilation of tl.tex in VPATH builds.

* doc/tl/Makefile.am (LATEXMK): Set BIBINPUTS for VPATH builds.
(EXTRA_DIST): Distribute tl.tex and tl.bib.
($(srcdir)/tl.pdf): Fix update in srcdir.
parent 0536cdfb
......@@ -24,14 +24,15 @@ all: $(srcdir)/tl.pdf
# The second -e '$$pdflatex... ' line can be replaced by -pdflatex on
# recent version of latexmk; but version 4.13a, installed on some
# of our hosts, does not support it.
LATEXMK = latexmk -pdf -ps- -dvi- -e '$$bibtex_use=2' \
LATEXMK = BIBINPUTS='$(srcdir)' latexmk -pdf -ps- -dvi- -e '$$bibtex_use=2' \
-e '$$pdflatex="pdflatex %O \"\\def\\SpotVersion{$(VERSION)}\\input{%S}\""'
dist_pdf_DATA = $(srcdir)/tl.pdf
EXTRA_DIST = tl.tex tl.bib
$(srcdir)/tl.pdf: $(srcdir)/tl.tex $(srcdir)/tl.bib
$(LATEXMK) $(srcdir)/tl.tex
test '$(srcdir)' = '.' || cp $@ $(srcdir)/$@
test '$(srcdir)' = '.' || cp tl.pdf $@
pvc:
$(LATEXMK) -pvc $(srcdir)/tl.tex
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment