diff options
| author | Richard M. Stallman | 1998-05-14 04:58:47 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1998-05-14 04:58:47 +0000 |
| commit | 9f059d3c2157377329af2fc35f8439fe63fef5e9 (patch) | |
| tree | 8ec4316275e177271a5e7fc8e98f50f29c717542 | |
| parent | cbe9a46020c7c508624f8262f6b47d776839845f (diff) | |
| download | emacs-9f059d3c2157377329af2fc35f8439fe63fef5e9.tar.gz emacs-9f059d3c2157377329af2fc35f8439fe63fef5e9.zip | |
(install-arch-indep): Don't alter site-lisp/subdirs.el if it exists.
| -rw-r--r-- | Makefile.in | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/Makefile.in b/Makefile.in index 5410bbdaff8..5073bbf4034 100644 --- a/Makefile.in +++ b/Makefile.in | |||
| @@ -338,15 +338,21 @@ install-arch-indep: mkdir | |||
| 338 | done | 338 | done |
| 339 | -rm -f ${lispdir}/subdirs.el | 339 | -rm -f ${lispdir}/subdirs.el |
| 340 | $(srcdir)/update-subdirs ${lispdir} | 340 | $(srcdir)/update-subdirs ${lispdir} |
| 341 | -rm -f ${datadir}/emacs/${version}/site-lisp/subdirs.el | 341 | if [ -f ${datadir}/emacs/${version}/site-lisp/subdirs.el ]; \ |
| 342 | -(echo "(if (fboundp 'normal-top-level-add-subdirs-to-load-path)"; \ | 342 | then true; \ |
| 343 | echo " (normal-top-level-add-subdirs-to-load-path))") \ | 343 | else \ |
| 344 | > ${datadir}/emacs/${version}/site-lisp/subdirs.el | 344 | (echo "(if (fboundp 'normal-top-level-add-subdirs-to-load-path)"; \ |
| 345 | echo " (normal-top-level-add-subdirs-to-load-path))") \ | ||
| 346 | > ${datadir}/emacs/${version}/site-lisp/subdirs.el \ | ||
| 347 | fi | ||
| 345 | chmod a+r ${datadir}/emacs/${version}/site-lisp/subdirs.el | 348 | chmod a+r ${datadir}/emacs/${version}/site-lisp/subdirs.el |
| 346 | -rm -f ${datadir}/emacs/site-lisp/subdirs.el | 349 | if [ -f ${datadir}/emacs/site-lisp/subdirs.el ]; \ |
| 347 | -(echo "(if (fboundp 'normal-top-level-add-subdirs-to-load-path)"; \ | 350 | then true; \ |
| 348 | echo " (normal-top-level-add-subdirs-to-load-path))") \ | 351 | else \ |
| 349 | > ${datadir}/emacs/site-lisp/subdirs.el | 352 | (echo "(if (fboundp 'normal-top-level-add-subdirs-to-load-path)"; \ |
| 353 | echo " (normal-top-level-add-subdirs-to-load-path))") \ | ||
| 354 | > ${datadir}/emacs/site-lisp/subdirs.el \ | ||
| 355 | fi | ||
| 350 | chmod a+r ${datadir}/emacs/site-lisp/subdirs.el | 356 | chmod a+r ${datadir}/emacs/site-lisp/subdirs.el |
| 351 | if [ `(cd ./etc; /bin/pwd)` != `(cd ${docdir}; /bin/pwd)` ]; \ | 357 | if [ `(cd ./etc; /bin/pwd)` != `(cd ${docdir}; /bin/pwd)` ]; \ |
| 352 | then \ | 358 | then \ |