changeset 84481:334c557039a0

(install-arch-indep): Do not exclude the etc/ Makefiles.
author Glenn Morris <rgm@gnu.org>
date Wed, 12 Sep 2007 07:01:59 +0000
parents 46eb88ae6221
children d8f0cc77c822
files Makefile.in
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.in	Wed Sep 12 07:01:46 2007 +0000
+++ b/Makefile.in	Wed Sep 12 07:01:59 2007 +0000
@@ -420,6 +420,9 @@
 
 ## If people complain about the h flag in tar command, take that out.
 ## That flag is also used in leim/Makefile.in
+
+## Note that the Makefiles in the etc directory are potentially useful
+## in an installed Emacs, so should not be excluded.
 install-arch-indep: mkdir info
 	-set ${COPYDESTS} ; \
 	unset CDPATH; \
@@ -452,7 +455,8 @@
 		rm -f  $${subdir}/.\#* ; \
 		rm -f  $${subdir}/*~ ; \
 		rm -f  $${subdir}/*.orig ; \
-		rm -f  $${subdir}/[mM]akefile* ; \
+		[ "$${dir}" != "${srcdir}/etc" ] && \
+			rm -f  $${subdir}/[mM]akefile* ; \
 		rm -f  $${subdir}/ChangeLog* ; \
 		rm -f  $${subdir}/dired.todo ; \
 	      done) ; \