# HG changeset patch # User Richard M. Stallman # Date 824154796 0 # Node ID af6c9bc726a9fc5c08d6ba92ccbee23ef5efb631 # Parent 3b35955bd412d8be9981b4c7c1ed698ce75a2d88 (install-arch-indep): Install info/ccmode*. (install-arch-indep): Copy build-dir's lisp subdir to lispdir. Protect against /bin/pwd returning null string. diff -r 3b35955bd412 -r af6c9bc726a9 Makefile.in --- 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); \