changeset 110887:951b5214e939

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 $<.
author Glenn Morris <rgm@gnu.org>
date Sat, 09 Oct 2010 12:39:42 -0700
parents 001fbc0986c9
children fb9b207b7488
files doc/emacs/ChangeLog doc/emacs/Makefile.in doc/lispintro/ChangeLog doc/lispintro/Makefile.in doc/lispref/ChangeLog doc/lispref/Makefile.in
diffstat 6 files changed, 24 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- a/doc/emacs/ChangeLog	Sat Oct 09 12:27:22 2010 -0700
+++ b/doc/emacs/ChangeLog	Sat Oct 09 12:39:42 2010 -0700
@@ -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.
--- a/doc/emacs/Makefile.in	Sat Oct 09 12:27:22 2010 -0700
+++ b/doc/emacs/Makefile.in	Sat Oct 09 12:39:42 2010 -0700
@@ -70,8 +70,8 @@
 	$(srcdir)/msdog-xtra.texi
 
 EMACSSOURCES= \
+	${srcdir}/emacs.texi \
 	${srcdir}/emacsver.texi \
-	${srcdir}/emacs.texi \
 	${srcdir}/doclicense.texi \
 	${srcdir}/gpl.texi \
 	${srcdir}/screen.texi \
@@ -135,20 +135,20 @@
 
 $(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
 
--- a/doc/lispintro/ChangeLog	Sat Oct 09 12:27:22 2010 -0700
+++ b/doc/lispintro/ChangeLog	Sat Oct 09 12:39:42 2010 -0700
@@ -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.
--- a/doc/lispintro/Makefile.in	Sat Oct 09 12:27:22 2010 -0700
+++ b/doc/lispintro/Makefile.in	Sat Oct 09 12:39:42 2010 -0700
@@ -50,16 +50,16 @@
 # -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 $@
--- a/doc/lispref/ChangeLog	Sat Oct 09 12:27:22 2010 -0700
+++ b/doc/lispref/ChangeLog	Sat Oct 09 12:39:42 2010 -0700
@@ -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.
--- a/doc/lispref/Makefile.in	Sat Oct 09 12:27:22 2010 -0700
+++ b/doc/lispref/Makefile.in	Sat Oct 09 12:39:42 2010 -0700
@@ -42,6 +42,7 @@
 # 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 @@
   $(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 @@
 
 $(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