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.
This commit is contained in:
parent
0536cdfb9b
commit
55a1c6c12f
1 changed files with 3 additions and 2 deletions
|
|
@ -24,14 +24,15 @@ all: $(srcdir)/tl.pdf
|
||||||
# The second -e '$$pdflatex... ' line can be replaced by -pdflatex on
|
# The second -e '$$pdflatex... ' line can be replaced by -pdflatex on
|
||||||
# recent version of latexmk; but version 4.13a, installed on some
|
# recent version of latexmk; but version 4.13a, installed on some
|
||||||
# of our hosts, does not support it.
|
# 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}\""'
|
-e '$$pdflatex="pdflatex %O \"\\def\\SpotVersion{$(VERSION)}\\input{%S}\""'
|
||||||
|
|
||||||
dist_pdf_DATA = $(srcdir)/tl.pdf
|
dist_pdf_DATA = $(srcdir)/tl.pdf
|
||||||
|
EXTRA_DIST = tl.tex tl.bib
|
||||||
|
|
||||||
$(srcdir)/tl.pdf: $(srcdir)/tl.tex $(srcdir)/tl.bib
|
$(srcdir)/tl.pdf: $(srcdir)/tl.tex $(srcdir)/tl.bib
|
||||||
$(LATEXMK) $(srcdir)/tl.tex
|
$(LATEXMK) $(srcdir)/tl.tex
|
||||||
test '$(srcdir)' = '.' || cp $@ $(srcdir)/$@
|
test '$(srcdir)' = '.' || cp tl.pdf $@
|
||||||
|
|
||||||
pvc:
|
pvc:
|
||||||
$(LATEXMK) -pvc $(srcdir)/tl.tex
|
$(LATEXMK) -pvc $(srcdir)/tl.tex
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue