diff options
| author | Richard M. Stallman | 1994-05-07 03:15:33 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-05-07 03:15:33 +0000 |
| commit | 3be1f08e7457f4ca495df76dac34eb19917e7c14 (patch) | |
| tree | 8dbea96811cd64e5098fa1539bf33d5518de4780 | |
| parent | 542eb82b74ae8021bfff7315b344fd1168f8da76 (diff) | |
| download | emacs-3be1f08e7457f4ca495df76dac34eb19917e7c14.tar.gz emacs-3be1f08e7457f4ca495df76dac34eb19917e7c14.zip | |
(install-arch-indep): Do install info/dired-x*.
Merge code in from install-doc.
(install-doc): Merge code back into install-arch-indep.
(install-arch-dep): Don't depend on install-doc.
| -rw-r--r-- | Makefile.in | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/Makefile.in b/Makefile.in index dc2790e5ec6..6804224dfce 100644 --- a/Makefile.in +++ b/Makefile.in | |||
| @@ -270,10 +270,7 @@ install: ${SUBDIR} install-arch-dep install-arch-indep; | |||
| 270 | 270 | ||
| 271 | ### Note that we copy the DOC-* files from the build etc directory | 271 | ### Note that we copy the DOC-* files from the build etc directory |
| 272 | ### as well as lots of things from ${srcdir}/etc. | 272 | ### as well as lots of things from ${srcdir}/etc. |
| 273 | 273 | install-arch-dep: mkdir | |
| 274 | ## The docfile isn't really architecture-dependent, but we want to | ||
| 275 | ## install it along with the version of Emacs that it's keyed to. | ||
| 276 | install-arch-dep: mkdir install-doc | ||
| 277 | (cd lib-src; \ | 274 | (cd lib-src; \ |
| 278 | $(MAKE) install $(MFLAGS) prefix=${prefix} \ | 275 | $(MAKE) install $(MFLAGS) prefix=${prefix} \ |
| 279 | exec_prefix=${exec_prefix} bindir=${bindir} libdir=${libdir} \ | 276 | exec_prefix=${exec_prefix} bindir=${bindir} libdir=${libdir} \ |
| @@ -283,13 +280,8 @@ install-arch-dep: mkdir install-doc | |||
| 283 | rm -f ${bindir}/$(EMACS) | 280 | rm -f ${bindir}/$(EMACS) |
| 284 | -ln ${bindir}/emacs-${version} ${bindir}/$(EMACS) | 281 | -ln ${bindir}/emacs-${version} ${bindir}/$(EMACS) |
| 285 | 282 | ||
| 286 | install-doc: mkdir | 283 | ### Note that we copy the DOC-* files from the build etc directory |
| 287 | if [ `(cd ./etc; /bin/pwd)` != `(cd ${docdir}; /bin/pwd)` ]; \ | 284 | ### as well as lots of things from ${srcdir}/etc. |
| 288 | then \ | ||
| 289 | echo "Copying etc/DOC* ..." ; \ | ||
| 290 | (cd etc; tar -cf - DOC*)|(cd ${docdir}; umask 0; tar -xvf - ); \ | ||
| 291 | else true; fi | ||
| 292 | |||
| 293 | install-arch-indep: mkdir | 285 | install-arch-indep: mkdir |
| 294 | -set ${COPYDESTS} ; \ | 286 | -set ${COPYDESTS} ; \ |
| 295 | for dir in ${COPYDIR} ; do \ | 287 | for dir in ${COPYDIR} ; do \ |
| @@ -313,6 +305,11 @@ install-arch-indep: mkdir | |||
| 313 | rm -f $${subdir}/*~ ; \ | 305 | rm -f $${subdir}/*~ ; \ |
| 314 | done) ; \ | 306 | done) ; \ |
| 315 | done | 307 | done |
| 308 | if [ `(cd ./etc; /bin/pwd)` != `(cd ${docdir}; /bin/pwd)` ]; \ | ||
| 309 | then \ | ||
| 310 | echo "Copying etc/DOC* ..." ; \ | ||
| 311 | (cd etc; tar -cf - DOC*)|(cd ${docdir}; umask 0; tar -xvf - ); \ | ||
| 312 | else true; fi | ||
| 316 | thisdir=`pwd`; \ | 313 | thisdir=`pwd`; \ |
| 317 | if [ `(cd ${srcdir}/info && /bin/pwd)` != `(cd ${infodir} && /bin/pwd)` ]; \ | 314 | if [ `(cd ${srcdir}/info && /bin/pwd)` != `(cd ${infodir} && /bin/pwd)` ]; \ |
| 318 | then \ | 315 | then \ |
| @@ -320,7 +317,7 @@ install-arch-indep: mkdir | |||
| 320 | if [ ! -f ${infodir}/dir ] && [ -f dir ]; then \ | 317 | if [ ! -f ${infodir}/dir ] && [ -f dir ]; then \ |
| 321 | (cd $${thisdir}; ${INSTALL_DATA} ${srcdir}/info/dir ${infodir}/dir); \ | 318 | (cd $${thisdir}; ${INSTALL_DATA} ${srcdir}/info/dir ${infodir}/dir); \ |
| 322 | fi ; \ | 319 | fi ; \ |
| 323 | for f in cl* emacs* forms* gnus* info* sc* vip* ; do \ | 320 | for f in cl* dired-x* emacs* forms* gnus* info* sc* vip* ; do \ |
| 324 | (cd $${thisdir}; ${INSTALL_DATA} ${srcdir}/info/$$f ${infodir}/$$f); \ | 321 | (cd $${thisdir}; ${INSTALL_DATA} ${srcdir}/info/$$f ${infodir}/$$f); \ |
| 325 | done); \ | 322 | done); \ |
| 326 | else true; fi | 323 | else true; fi |