Commit b13254e7 authored by Glenn Morris's avatar Glenn Morris
Browse files

Add doc/ dependencies on emacsver.texi.

* doc/misc/Makefile.in ($(infodir)/efaq): Depend on emacsver.texi.

* doc/lispref/Makefile.in (srcs): Add emacsver.texi.

* doc/emacs/Makefile.in (EMACSSOURCES): Add emacsver.texi.
parent 613c83fc
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
* emacs.texi: Set EMACSVER by including emacsver.texi. * emacs.texi: Set EMACSVER by including emacsver.texi.
* Makefile.in (distclean): Delete emacsver.texi. * Makefile.in (distclean): Delete emacsver.texi.
(dist): Copy emacsver.texi. (dist): Copy emacsver.texi.
(EMACSSOURCES): Add emacsver.texi.
* ack.texi (Acknowledgments): No more b2m.c. * ack.texi (Acknowledgments): No more b2m.c.
......
...@@ -70,6 +70,7 @@ EMACS_XTRA= \ ...@@ -70,6 +70,7 @@ EMACS_XTRA= \
$(srcdir)/msdog-xtra.texi $(srcdir)/msdog-xtra.texi
EMACSSOURCES= \ EMACSSOURCES= \
${srcdir}/emacsver.texi \
${srcdir}/emacs.texi \ ${srcdir}/emacs.texi \
${srcdir}/doclicense.texi \ ${srcdir}/doclicense.texi \
${srcdir}/gpl.texi \ ${srcdir}/gpl.texi \
......
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
* Makefile.in (emacsdir): New variable. * Makefile.in (emacsdir): New variable.
(MAKEINFO): Add -I $emacsdir. (MAKEINFO): Add -I $emacsdir.
(dist): Copy emacsver.texi. (dist): Copy emacsver.texi.
(srcs): Add emacsver.texi.
* book-spine.texinfo, elisp.texi, vol2.texi, vol1.texi: * book-spine.texinfo, elisp.texi, vol2.texi, vol1.texi:
Set EMACSVER by including emacsver.texi. Set EMACSVER by including emacsver.texi.
......
...@@ -42,6 +42,7 @@ TEXI2PDF = texi2pdf ...@@ -42,6 +42,7 @@ TEXI2PDF = texi2pdf
# List of all the texinfo files in the manual: # List of all the texinfo files in the manual:
srcs = \ srcs = \
$(emacsdir)/emacsver.texi \
$(srcdir)/abbrevs.texi \ $(srcdir)/abbrevs.texi \
$(srcdir)/advice.texi \ $(srcdir)/advice.texi \
$(srcdir)/anti.texi \ $(srcdir)/anti.texi \
......
...@@ -4,6 +4,8 @@ ...@@ -4,6 +4,8 @@
* Makefile.in (emacsdir): New variable. * Makefile.in (emacsdir): New variable.
($(infodir)/efaq): Pass -I $(emacsdir) to makeinfo. ($(infodir)/efaq): Pass -I $(emacsdir) to makeinfo.
Depend on emacsver.texi.
* faq.texi (VER): Replace with EMACSVER from emacsver.texi. * faq.texi (VER): Replace with EMACSVER from emacsver.texi.
* Makefile.in (.PHONY): Declare info, dvi, pdf and the clean rules. * Makefile.in (.PHONY): Declare info, dvi, pdf and the clean rules.
......
...@@ -364,7 +364,7 @@ eudc.pdf: eudc.texi ...@@ -364,7 +364,7 @@ eudc.pdf: eudc.texi
$(ENVADD) $(TEXI2PDF) ${srcdir}/eudc.texi $(ENVADD) $(TEXI2PDF) ${srcdir}/eudc.texi
efaq : $(infodir)/efaq efaq : $(infodir)/efaq
$(infodir)/efaq: faq.texi $(infodir) $(infodir)/efaq: faq.texi $(emacsdir)/emacsver.texi $(infodir)
cd $(srcdir); $(MAKEINFO) -I $(emacsdir) faq.texi cd $(srcdir); $(MAKEINFO) -I $(emacsdir) faq.texi
faq.dvi: faq.texi faq.dvi: faq.texi
$(ENVADD) $(TEXI2DVI) ${srcdir}/faq.texi $(ENVADD) $(TEXI2DVI) ${srcdir}/faq.texi
......
Markdown is supported
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