diff options
author | Glenn Morris <[email protected]> | 2012-05-19 00:20:16 -0700 |
---|---|---|
committer | Glenn Morris <[email protected]> | 2012-05-19 00:20:16 -0700 |
commit | e39b98063324ef3405e1c63ccc3bb0ba8fea7fd7 (patch) | |
tree | 6db9e97d5b2c1c420c6334923e02443670fd36a1 /Makefile.in | |
parent | 42d5aa3efc642f46b0dcac9f66d848fb838c04ff (diff) |
* Makefile.in (install-arch-indep): Remove unneeded subshell.
Combine some rm commands.
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 32 |
1 files changed, 14 insertions, 18 deletions
diff --git a/Makefile.in b/Makefile.in index d93efc6779..f11a8b3ed0 100644 --- a/Makefile.in +++ b/Makefile.in @@ -525,24 +525,20 @@ install-arch-indep: install-leim install-info install-man ${INSTALL_ARCH_INDEP_E continue ; \ rm -rf $${dest} ; \ umask 022; ${MKDIR_P} $${dest} ; \ - (echo "Copying $${dir} to $${dest}..." ; \ - (cd $${dir}; tar -chf - . ) \ - | (cd $${dest}; umask 022; \ - tar -xvf - && cat > /dev/null) || exit 1; \ - [ "$${dir}" != "${srcdir}/etc" ] || rm -f $${dest}/DOC* ; \ - find $${dest} -exec chown $${installuser} {} ';' ;\ - for subdir in `find $${dest} -type d -print` ; do \ - rm -f $${subdir}/.gitignore ; \ - rm -f $${subdir}/.arch-inventory ; \ - rm -f $${subdir}/.DS_Store ; \ - rm -f $${subdir}/\#* ; \ - rm -f $${subdir}/.\#* ; \ - rm -f $${subdir}/*~ ; \ - rm -f $${subdir}/*.orig ; \ - [ "$${dir}" != "${srcdir}/etc" ] && \ - rm -f $${subdir}/[mM]akefile*[.-]in $${subdir}/[mM]akefile ; \ - rm -f $${subdir}/ChangeLog* ; \ - done) ; \ + echo "Copying $${dir} to $${dest}..." ; \ + (cd $${dir}; tar -chf - . ) \ + | (cd $${dest}; umask 022; \ + tar -xvf - && cat > /dev/null) || exit 1; \ + [ "$${dir}" != "${srcdir}/etc" ] || rm -f $${dest}/DOC* ; \ + for subdir in `find $${dest} -type d -print` ; do \ + rm -f $${subdir}/.gitignore $${subdir}/.arch-inventory \ + $${subdir}/.DS_Store $${subdir}/ChangeLog* \ + $${subdir}/\#* $${subdir}/.\#* \ + $${subdir}/*~ $${subdir}/*.orig ; \ + [ "$${dir}" != "${srcdir}/etc" ] && \ + rm -f $${subdir}/[mM]akefile*[.-]in $${subdir}/[mM]akefile ; \ + done ; \ + find $${dest} -exec chown $${installuser} {} ';' ;\ done -rm -f $(DESTDIR)${lispdir}/subdirs.el umask 022; $(srcdir)/update-subdirs $(DESTDIR)${lispdir} |