diff options
| author | Glenn Morris | 2012-05-19 00:20:16 -0700 |
|---|---|---|
| committer | Glenn Morris | 2012-05-19 00:20:16 -0700 |
| commit | e39b98063324ef3405e1c63ccc3bb0ba8fea7fd7 (patch) | |
| tree | 6db9e97d5b2c1c420c6334923e02443670fd36a1 | |
| parent | 42d5aa3efc642f46b0dcac9f66d848fb838c04ff (diff) | |
| download | emacs-e39b98063324ef3405e1c63ccc3bb0ba8fea7fd7.tar.gz emacs-e39b98063324ef3405e1c63ccc3bb0ba8fea7fd7.zip | |
* Makefile.in (install-arch-indep): Remove unneeded subshell.
Combine some rm commands.
| -rw-r--r-- | ChangeLog | 3 | ||||
| -rw-r--r-- | Makefile.in | 32 |
2 files changed, 17 insertions, 18 deletions
| @@ -1,5 +1,8 @@ | |||
| 1 | 2012-05-19 Glenn Morris <rgm@gnu.org> | 1 | 2012-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} |