Mercurial > emacs
comparison Makefile.in @ 19534:f2fe77b50fb1
(install-arch-indep): Discard extra data in tar | tar pipes.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Tue, 26 Aug 1997 03:34:50 +0000 |
parents | 252bf4f45d18 |
children | 390656cf7e41 |
comparison
equal
deleted
inserted
replaced
19533:e67f4e6a5a24 | 19534:f2fe77b50fb1 |
---|---|
312 for dir in ${COPYDIR} ; do \ | 312 for dir in ${COPYDIR} ; do \ |
313 dest=$$1 ; shift ; \ | 313 dest=$$1 ; shift ; \ |
314 [ -d $${dir} ] \ | 314 [ -d $${dir} ] \ |
315 && [ `(cd $${dir} && /bin/pwd)` != `(cd $${dest} && /bin/pwd)` ] \ | 315 && [ `(cd $${dir} && /bin/pwd)` != `(cd $${dest} && /bin/pwd)` ] \ |
316 && (echo "Copying $${dir} to $${dest}..." ; \ | 316 && (echo "Copying $${dir} to $${dest}..." ; \ |
317 (cd $${dir}; tar -cf - . )|(cd $${dest};umask 022; tar -xvf - ); \ | 317 (cd $${dir}; tar -cf - . ) \ |
318 |(cd $${dest};umask 022; tar -xvf - && cat > /dev/null); \ | |
318 for subdir in `find $${dest} -type d ! -name RCS -print` ; do \ | 319 for subdir in `find $${dest} -type d ! -name RCS -print` ; do \ |
319 rm -rf $${subdir}/RCS ; \ | 320 rm -rf $${subdir}/RCS ; \ |
320 rm -rf $${subdir}/CVS ; \ | 321 rm -rf $${subdir}/CVS ; \ |
321 rm -f $${subdir}/\#* ; \ | 322 rm -f $${subdir}/\#* ; \ |
322 rm -f $${subdir}/.\#* ; \ | 323 rm -f $${subdir}/.\#* ; \ |
331 $(srcdir)/update-subdirs ${lispdir} | 332 $(srcdir)/update-subdirs ${lispdir} |
332 -chmod -R a+r ${COPYDESTS} | 333 -chmod -R a+r ${COPYDESTS} |
333 if [ `(cd ./etc; /bin/pwd)` != `(cd ${docdir}; /bin/pwd)` ]; \ | 334 if [ `(cd ./etc; /bin/pwd)` != `(cd ${docdir}; /bin/pwd)` ]; \ |
334 then \ | 335 then \ |
335 echo "Copying etc/DOC-* to ${docdir} ..." ; \ | 336 echo "Copying etc/DOC-* to ${docdir} ..." ; \ |
336 (cd ./etc; tar -cf - DOC*)|(cd ${docdir}; umask 0; tar -xvf - ); \ | 337 (cd ./etc; tar -cf - DOC*) \ |
338 |(cd ${docdir}; umask 0; tar -xvf - && cat > /dev/null); \ | |
337 (cd $(docdir); chmod a+r DOC*; rm DOC) \ | 339 (cd $(docdir); chmod a+r DOC*; rm DOC) \ |
338 else true; fi | 340 else true; fi |
339 if [ -r ./lisp ] \ | 341 if [ -r ./lisp ] \ |
340 && [ x`(cd ./lisp; /bin/pwd)` != x`(cd ${lispdir}; /bin/pwd)` ] \ | 342 && [ x`(cd ./lisp; /bin/pwd)` != x`(cd ${lispdir}; /bin/pwd)` ] \ |
341 && [ x`(cd ${srcdir}/lisp; /bin/pwd)` != x`(cd ./lisp; /bin/pwd)` ]; \ | 343 && [ x`(cd ${srcdir}/lisp; /bin/pwd)` != x`(cd ./lisp; /bin/pwd)` ]; \ |
342 then \ | 344 then \ |
343 echo "Copying lisp/*.el and lisp/*.elc to ${lispdir} ..." ; \ | 345 echo "Copying lisp/*.el and lisp/*.elc to ${lispdir} ..." ; \ |
344 (cd lisp; tar -cf - *.el *.elc)|(cd ${lispdir}; umask 0; tar -xvf - ); \ | 346 (cd lisp; tar -cf - *.el *.elc) \ |
347 |(cd ${lispdir}; umask 0; tar -xvf - && cat > /dev/null); \ | |
345 else true; fi | 348 else true; fi |
346 thisdir=`/bin/pwd`; \ | 349 thisdir=`/bin/pwd`; \ |
347 if [ `(cd ${srcdir}/info && /bin/pwd)` != `(cd ${infodir} && /bin/pwd)` ]; \ | 350 if [ `(cd ${srcdir}/info && /bin/pwd)` != `(cd ${infodir} && /bin/pwd)` ]; \ |
348 then \ | 351 then \ |
349 (cd ${infodir}; \ | 352 (cd ${infodir}; \ |