1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-23 07:19:15 +00:00

Use $< in some doc/*/Makefile rules.

* doc/lispref/Makefile.in (srcs): Put elisp.texi first.
($(infodir)/elisp, elisp.dvi, elisp.pdf): Use $<.

* doc/lispintro/Makefile.in (${infodir}/eintr, emacs-lisp-intro.dvi)
(emacs-lisp-intro.pdf, emacs-lisp-intro.html): Use $<.

* doc/emacs/Makefile.in (EMACSSOURCES): Put emacs.texi first.
($(infodir)/emacs, emacs.dvi, emacs.pdf, emacs-xtra.dvi)
(emacs-xtra.pdf): Use $<.
This commit is contained in:
Glenn Morris 2010-10-09 12:39:42 -07:00
parent 5bd2348590
commit eef3ab9443
6 changed files with 24 additions and 14 deletions

View File

@ -1,5 +1,9 @@
2010-10-09 Glenn Morris <rgm@gnu.org>
* Makefile.in (EMACSSOURCES): Put emacs.texi first.
($(infodir)/emacs, emacs.dvi, emacs.pdf, emacs-xtra.dvi)
(emacs-xtra.pdf): Use $<.
* Makefile.in (infoclean): Remove harmless, long-standing error.
* Makefile.in ($(infodir)): Delete rule.

View File

@ -70,8 +70,8 @@ EMACS_XTRA= \
$(srcdir)/msdog-xtra.texi
EMACSSOURCES= \
${srcdir}/emacsver.texi \
${srcdir}/emacs.texi \
${srcdir}/emacsver.texi \
${srcdir}/doclicense.texi \
${srcdir}/gpl.texi \
${srcdir}/screen.texi \
@ -135,20 +135,20 @@ pdf: emacs.pdf
$(infodir)/emacs: ${EMACSSOURCES}
$(mkinfodir)
cd $(srcdir); $(MAKEINFO) emacs.texi -o $@
cd $(srcdir); $(MAKEINFO) $< -o $@
emacs.dvi: ${EMACSSOURCES}
$(ENVADD) $(TEXI2DVI) ${srcdir}/emacs.texi
$(ENVADD) $(TEXI2DVI) $<
emacs.pdf: ${EMACSSOURCES}
$(ENVADD) $(TEXI2PDF) ${srcdir}/emacs.texi
$(ENVADD) $(TEXI2PDF) $<
emacs-xtra.dvi: $(EMACS_XTRA)
$(ENVADD) $(TEXI2DVI) ${srcdir}/emacs-xtra.texi
$(ENVADD) $(TEXI2DVI) $<
emacs-xtra.pdf: $(EMACS_XTRA)
$(ENVADD) $(TEXI2PDF) ${srcdir}/emacs-xtra.texi
$(ENVADD) $(TEXI2PDF) $<
.PHONY: mostlyclean clean distclean maintainer-clean infoclean

View File

@ -1,5 +1,8 @@
2010-10-09 Glenn Morris <rgm@gnu.org>
* Makefile.in (${infodir}/eintr, emacs-lisp-intro.dvi)
(emacs-lisp-intro.pdf, emacs-lisp-intro.html): Use $<.
* Makefile.in (infoclean): Remove harmless, long-standing error.
* Makefile.in ($(infodir)): Delete rule.

View File

@ -50,16 +50,16 @@ pdf: emacs-lisp-intro.pdf
# -NN extensions to fit into DOS 8+3 limits without clashing.
${infodir}/eintr: ${srcdir}/emacs-lisp-intro.texi
$(mkinfodir)
cd $(srcdir); $(MAKEINFO) emacs-lisp-intro.texi -o $@
cd $(srcdir); $(MAKEINFO) $< -o $@
emacs-lisp-intro.dvi: ${srcdir}/emacs-lisp-intro.texi
$(TEXI2DVI) -I $(srcdir) -I $(texinfodir) $^
$(TEXI2DVI) -I $(srcdir) -I $(texinfodir) $<
emacs-lisp-intro.pdf: ${srcdir}/emacs-lisp-intro.texi
$(TEXI2PDF) -I $(srcdir) -I $(texinfodir) $^
$(TEXI2PDF) -I $(srcdir) -I $(texinfodir) $<
emacs-lisp-intro.html: ${srcdir}/emacs-lisp-intro.texi
$(MAKEINFO) --html -o $@ $^
$(MAKEINFO) --html -o $@ $<
.dvi.ps:
$(DVIPS) $< -o $@

View File

@ -1,5 +1,8 @@
2010-10-09 Glenn Morris <rgm@gnu.org>
* Makefile.in (srcs): Put elisp.texi first.
($(infodir)/elisp, elisp.dvi, elisp.pdf): Use $<.
* Makefile.in (infoclean): Remove harmless, long-standing error.
* Makefile.in ($(infodir)): Delete rule.

View File

@ -42,6 +42,7 @@ TEXI2PDF = texi2pdf
# List of all the texinfo files in the manual:
srcs = \
$(srcdir)/elisp.texi \
$(emacsdir)/emacsver.texi \
$(srcdir)/abbrevs.texi \
$(srcdir)/advice.texi \
@ -56,7 +57,6 @@ srcs = \
$(srcdir)/debugging.texi \
$(srcdir)/display.texi \
$(srcdir)/edebug.texi \
$(srcdir)/elisp.texi \
$(srcdir)/errors.texi \
$(srcdir)/eval.texi \
$(srcdir)/files.texi \
@ -107,13 +107,13 @@ pdf: elisp.pdf
$(infodir)/elisp: $(srcs)
$(mkinfodir)
cd $(srcdir); $(MAKEINFO) -I. -I$(texinfodir) elisp.texi -o $@
cd $(srcdir); $(MAKEINFO) -I. -I$(texinfodir) $< -o $@
elisp.dvi: $(srcs)
$(TEXI2DVI) -I $(srcdir) -I $(texinfodir) $(srcdir)/elisp.texi
$(TEXI2DVI) -I $(srcdir) -I $(texinfodir) $<
elisp.pdf: $(srcs)
$(TEXI2PDF) -I $(srcdir) -I $(texinfodir) $(srcdir)/elisp.texi
$(TEXI2PDF) -I $(srcdir) -I $(texinfodir) $<
.PHONY: mostlyclean clean distclean maintainer-clean infoclean