mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-19 01:03:04 +00:00
build: fix distcheck issues.
For some reason it seems that texi2dvi -o no longer forces --clean mode, so we have stray TeX compilation files staying in top_builddir since TeX is run from there. While at it, upgrade the generation of the (completely obsolete) reference card. Target PDF. * doc/local.mk (TEXI2DVI): Pass --build-dir. (CLEANDIRS): More accurate. (doc/refcard.dvi): Replace with... (doc/refcard.pdf): this. Adjust dependencies.
This commit is contained in:
10
doc/local.mk
10
doc/local.mk
@@ -21,7 +21,8 @@ doc_bison_TEXINFOS = \
|
|||||||
doc/gpl-3.0.texi
|
doc/gpl-3.0.texi
|
||||||
|
|
||||||
CLEANFILES = doc/bison.fns
|
CLEANFILES = doc/bison.fns
|
||||||
CLEANDIRS = doc/*.t2d
|
TEXI2DVI = texi2dvi --build-dir=doc/bison.t2d
|
||||||
|
CLEANDIRS = doc/bison.t2d
|
||||||
clean-local:
|
clean-local:
|
||||||
rm -rf $(CLEANDIRS)
|
rm -rf $(CLEANDIRS)
|
||||||
|
|
||||||
@@ -46,12 +47,11 @@ MAINTAINERCLEANFILES = $(CROSS_OPTIONS_TEXI)
|
|||||||
## ---------- ##
|
## ---------- ##
|
||||||
|
|
||||||
EXTRA_DIST += doc/refcard.tex
|
EXTRA_DIST += doc/refcard.tex
|
||||||
CLEANFILES += doc/refcard.dvi doc/refcard.log doc/refcard.ps
|
CLEANFILES += doc/refcard.pdf
|
||||||
|
|
||||||
doc/refcard.dvi: doc/refcard.tex
|
doc/refcard.pdf: doc/refcard.tex
|
||||||
$(AM_V_GEN)cd doc && tex refcard.tex
|
$(AM_V_GEN) cd doc && pdftex $(abs_top_srcdir)/doc/refcard.tex
|
||||||
|
|
||||||
doc/refcard.ps: doc/refcard.dvi
|
|
||||||
|
|
||||||
|
|
||||||
## ---------------- ##
|
## ---------------- ##
|
||||||
|
|||||||
Reference in New Issue
Block a user