Mercurial > emacs
changeset 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 | 3b35955bd412 |
children | e5c95b865af5 |
files | Makefile.in |
diffstat | 1 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile.in Mon Feb 12 10:25:48 1996 +0000 +++ b/Makefile.in Mon Feb 12 19:53:16 1996 +0000 @@ -353,6 +353,12 @@ (cd etc; tar -cf - DOC*)|(cd ${docdir}; umask 0; tar -xvf - ); \ (cd $(docdir); chmod a+r DOC*; rm DOC) \ else true; fi + if [ x`(cd ./lisp; /bin/pwd)` != x`(cd ${lispdir}; /bin/pwd)` ] \ + && [ x`(cd ${srcdir}/lisp; /bin/pwd)` != x`(cd ./lisp; /bin/pwd)` ]; \ + then \ + echo "Copying lisp/*.el and lisp/*.elc to ${lispdir} ..." ; \ + (cd lisp; tar -cf - *.el *.elc)|(cd ${lispdir}; umask 0; tar -xvf - ); \ + else true; fi thisdir=`/bin/pwd`; \ if [ `(cd ${srcdir}/info && /bin/pwd)` != `(cd ${infodir} && /bin/pwd)` ]; \ then \ @@ -364,7 +370,7 @@ cd ${srcdir}/info ; \ (cd $${thisdir}; ${INSTALL_DATA} ${srcdir}/info/dir ${infodir}/dir); \ (cd $${thisdir}; chmod a+r ${infodir}/dir); \ - for f in cl* dired-x* ediff* emacs* forms* gnus* info* mh-e* sc* vip*; do \ + for f in ccmode* cl* dired-x* ediff* emacs* forms* gnus* info* mh-e* sc* vip*; do \ (cd $${thisdir}; \ ${INSTALL_DATA} ${srcdir}/info/$$f ${infodir}/$$f; \ chmod a+r ${infodir}/$$f); \