changeset 112377:5855bdef20c9

Minor Makefile.in tweaks to build from gnulib better. <http://lists.gnu.org/archive/html/emacs-devel/2011-01/msg00673.html> * Makefile.in (sync-from-gnulib): Also run autoreconf -I m4. (top_maintainer_clean): Don't remove aclocal.m4.
author Paul Eggert <eggert@cs.ucla.edu>
date Wed, 19 Jan 2011 15:56:53 -0800
parents aa320544d768
children bc91751b1f8a
files ChangeLog Makefile.in
diffstat 2 files changed, 9 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Wed Jan 19 15:56:42 2011 -0800
+++ b/ChangeLog	Wed Jan 19 15:56:53 2011 -0800
@@ -1,3 +1,10 @@
+2011-01-19  Paul Eggert  <eggert@cs.ucla.edu>
+
+	Minor Makefile.in tweaks to build from gnulib better.
+	<http://lists.gnu.org/archive/html/emacs-devel/2011-01/msg00673.html>
+	* Makefile.in (sync-from-gnulib): Also run autoreconf -I m4.
+	(top_maintainer_clean): Don't remove aclocal.m4.
+
 2011-01-18  Paul Eggert  <eggert@cs.ucla.edu>
 
 	Minor cleanups for 'bzr status'
--- a/Makefile.in	Wed Jan 19 15:56:42 2011 -0800
+++ b/Makefile.in	Wed Jan 19 15:56:53 2011 -0800
@@ -343,6 +343,7 @@
 	  $(gnulib_srcdir)/build-aux/mkinstalldirs \
 	  $(gnulib_srcdir)/build-aux/move-if-change \
 	  $(srcdir)
+	cd $(srcdir) && autoreconf -I m4
 .PHONY: sync-from-gnulib
 
 # These targets should be "${SUBDIR} without `src'".
@@ -832,8 +833,7 @@
 ###      begin to build the program.
 top_maintainer_clean=\
 	${top_distclean}; \
-	rm -fr autom4te.cache; \
-	rm -f aclocal.m4
+	rm -fr autom4te.cache
 maintainer-clean: bootstrap-clean FRC
 	(cd src;      $(MAKE) $(MFLAGS) maintainer-clean)
 	(cd lisp;     $(MAKE) $(MFLAGS) maintainer-clean)