Mercurial > emacs
comparison Makefile.in @ 14555:af6c9bc726a9
(install-arch-indep): Install info/ccmode*.
(install-arch-indep): Copy build-dir's lisp subdir to lispdir.
Protect against /bin/pwd returning null string.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 12 Feb 1996 19:53:16 +0000 |
parents | 74660e3d9659 |
children | 1c0841475030 |
comparison
equal
deleted
inserted
replaced
14554:3b35955bd412 | 14555:af6c9bc726a9 |
---|---|
351 then \ | 351 then \ |
352 echo "Copying etc/DOC-* to ${docdir} ..." ; \ | 352 echo "Copying etc/DOC-* to ${docdir} ..." ; \ |
353 (cd etc; tar -cf - DOC*)|(cd ${docdir}; umask 0; tar -xvf - ); \ | 353 (cd etc; tar -cf - DOC*)|(cd ${docdir}; umask 0; tar -xvf - ); \ |
354 (cd $(docdir); chmod a+r DOC*; rm DOC) \ | 354 (cd $(docdir); chmod a+r DOC*; rm DOC) \ |
355 else true; fi | 355 else true; fi |
356 if [ x`(cd ./lisp; /bin/pwd)` != x`(cd ${lispdir}; /bin/pwd)` ] \ | |
357 && [ x`(cd ${srcdir}/lisp; /bin/pwd)` != x`(cd ./lisp; /bin/pwd)` ]; \ | |
358 then \ | |
359 echo "Copying lisp/*.el and lisp/*.elc to ${lispdir} ..." ; \ | |
360 (cd lisp; tar -cf - *.el *.elc)|(cd ${lispdir}; umask 0; tar -xvf - ); \ | |
361 else true; fi | |
356 thisdir=`/bin/pwd`; \ | 362 thisdir=`/bin/pwd`; \ |
357 if [ `(cd ${srcdir}/info && /bin/pwd)` != `(cd ${infodir} && /bin/pwd)` ]; \ | 363 if [ `(cd ${srcdir}/info && /bin/pwd)` != `(cd ${infodir} && /bin/pwd)` ]; \ |
358 then \ | 364 then \ |
359 (cd ${infodir}; \ | 365 (cd ${infodir}; \ |
360 if [ -f dir ]; then \ | 366 if [ -f dir ]; then \ |
362 else mv -f dir dir.bak; fi; \ | 368 else mv -f dir dir.bak; fi; \ |
363 fi; \ | 369 fi; \ |
364 cd ${srcdir}/info ; \ | 370 cd ${srcdir}/info ; \ |
365 (cd $${thisdir}; ${INSTALL_DATA} ${srcdir}/info/dir ${infodir}/dir); \ | 371 (cd $${thisdir}; ${INSTALL_DATA} ${srcdir}/info/dir ${infodir}/dir); \ |
366 (cd $${thisdir}; chmod a+r ${infodir}/dir); \ | 372 (cd $${thisdir}; chmod a+r ${infodir}/dir); \ |
367 for f in cl* dired-x* ediff* emacs* forms* gnus* info* mh-e* sc* vip*; do \ | 373 for f in ccmode* cl* dired-x* ediff* emacs* forms* gnus* info* mh-e* sc* vip*; do \ |
368 (cd $${thisdir}; \ | 374 (cd $${thisdir}; \ |
369 ${INSTALL_DATA} ${srcdir}/info/$$f ${infodir}/$$f; \ | 375 ${INSTALL_DATA} ${srcdir}/info/$$f ${infodir}/$$f; \ |
370 chmod a+r ${infodir}/$$f); \ | 376 chmod a+r ${infodir}/$$f); \ |
371 done); \ | 377 done); \ |
372 else true; fi | 378 else true; fi |