aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2012-05-19 00:20:16 -0700
committerGlenn Morris2012-05-19 00:20:16 -0700
commite39b98063324ef3405e1c63ccc3bb0ba8fea7fd7 (patch)
tree6db9e97d5b2c1c420c6334923e02443670fd36a1
parent42d5aa3efc642f46b0dcac9f66d848fb838c04ff (diff)
downloademacs-e39b98063324ef3405e1c63ccc3bb0ba8fea7fd7.tar.gz
emacs-e39b98063324ef3405e1c63ccc3bb0ba8fea7fd7.zip
* Makefile.in (install-arch-indep): Remove unneeded subshell.
Combine some rm commands.
-rw-r--r--ChangeLog3
-rw-r--r--Makefile.in32
2 files changed, 17 insertions, 18 deletions
diff --git a/ChangeLog b/ChangeLog
index 3a442429bc9..c1dfe02c0ee 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
12012-05-19 Glenn Morris <rgm@gnu.org> 12012-05-19 Glenn Morris <rgm@gnu.org>
2 2
3 * Makefile.in (install-arch-indep): Remove unneeded subshell.
4 Combine some rm commands.
5
3 * Makefile.in (install-arch-indep): Remove unneeded chmod. 6 * Makefile.in (install-arch-indep): Remove unneeded chmod.
4 Set permissions of lisp/subdirs.el. 7 Set permissions of lisp/subdirs.el.
5 8
diff --git a/Makefile.in b/Makefile.in
index d93efc67790..f11a8b3ed06 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -525,24 +525,20 @@ install-arch-indep: install-leim install-info install-man ${INSTALL_ARCH_INDEP_E
525 continue ; \ 525 continue ; \
526 rm -rf $${dest} ; \ 526 rm -rf $${dest} ; \
527 umask 022; ${MKDIR_P} $${dest} ; \ 527 umask 022; ${MKDIR_P} $${dest} ; \
528 (echo "Copying $${dir} to $${dest}..." ; \ 528 echo "Copying $${dir} to $${dest}..." ; \
529 (cd $${dir}; tar -chf - . ) \ 529 (cd $${dir}; tar -chf - . ) \
530 | (cd $${dest}; umask 022; \ 530 | (cd $${dest}; umask 022; \
531 tar -xvf - && cat > /dev/null) || exit 1; \ 531 tar -xvf - && cat > /dev/null) || exit 1; \
532 [ "$${dir}" != "${srcdir}/etc" ] || rm -f $${dest}/DOC* ; \ 532 [ "$${dir}" != "${srcdir}/etc" ] || rm -f $${dest}/DOC* ; \
533 find $${dest} -exec chown $${installuser} {} ';' ;\ 533 for subdir in `find $${dest} -type d -print` ; do \
534 for subdir in `find $${dest} -type d -print` ; do \ 534 rm -f $${subdir}/.gitignore $${subdir}/.arch-inventory \
535 rm -f $${subdir}/.gitignore ; \ 535 $${subdir}/.DS_Store $${subdir}/ChangeLog* \
536 rm -f $${subdir}/.arch-inventory ; \ 536 $${subdir}/\#* $${subdir}/.\#* \
537 rm -f $${subdir}/.DS_Store ; \ 537 $${subdir}/*~ $${subdir}/*.orig ; \
538 rm -f $${subdir}/\#* ; \ 538 [ "$${dir}" != "${srcdir}/etc" ] && \
539 rm -f $${subdir}/.\#* ; \ 539 rm -f $${subdir}/[mM]akefile*[.-]in $${subdir}/[mM]akefile ; \
540 rm -f $${subdir}/*~ ; \ 540 done ; \
541 rm -f $${subdir}/*.orig ; \ 541 find $${dest} -exec chown $${installuser} {} ';' ;\
542 [ "$${dir}" != "${srcdir}/etc" ] && \
543 rm -f $${subdir}/[mM]akefile*[.-]in $${subdir}/[mM]akefile ; \
544 rm -f $${subdir}/ChangeLog* ; \
545 done) ; \
546 done 542 done
547 -rm -f $(DESTDIR)${lispdir}/subdirs.el 543 -rm -f $(DESTDIR)${lispdir}/subdirs.el
548 umask 022; $(srcdir)/update-subdirs $(DESTDIR)${lispdir} 544 umask 022; $(srcdir)/update-subdirs $(DESTDIR)${lispdir}