diff Makefile.in @ 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 65bff746a07a
children 32a99bd66e4c 14c4a6aac623
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) ; \