aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl Heuer1994-04-26 22:07:10 +0000
committerKarl Heuer1994-04-26 22:07:10 +0000
commita1a7207a13168b6231e46ee44b39c661fd0c6128 (patch)
tree8ad0674411e961f1bc0c9919e15cb35161541608
parent9bcf8ec6d3bd081dacbfacdcc042ea3c53038a48 (diff)
downloademacs-a1a7207a13168b6231e46ee44b39c661fd0c6128.tar.gz
emacs-a1a7207a13168b6231e46ee44b39c661fd0c6128.zip
(install-doc): New target.
(install-arch-dep): Depend on install-doc. (mkdir): Create docdir.
-rw-r--r--Makefile.in21
1 files changed, 12 insertions, 9 deletions
diff --git a/Makefile.in b/Makefile.in
index dbfc23072a6..45a41133a89 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -266,7 +266,10 @@ install: ${SUBDIR} install-arch-dep install-arch-indep;
266 266
267### Note that we copy the DOC-* files from the build etc directory 267### Note that we copy the DOC-* files from the build etc directory
268### as well as lots of things from ${srcdir}/etc. 268### as well as lots of things from ${srcdir}/etc.
269install-arch-dep: mkdir 269
270## The docfile isn't really architecture-dependent, but we want to
271## install it along with the version of Emacs that it's keyed to.
272install-arch-dep: mkdir install-doc
270 (cd lib-src; \ 273 (cd lib-src; \
271 $(MAKE) install $(MFLAGS) prefix=${prefix} \ 274 $(MAKE) install $(MFLAGS) prefix=${prefix} \
272 exec_prefix=${exec_prefix} bindir=${bindir} libdir=${libdir} \ 275 exec_prefix=${exec_prefix} bindir=${bindir} libdir=${libdir} \
@@ -276,8 +279,13 @@ install-arch-dep: mkdir
276 rm -f ${bindir}/$(EMACS) 279 rm -f ${bindir}/$(EMACS)
277 -ln ${bindir}/emacs-${version} ${bindir}/$(EMACS) 280 -ln ${bindir}/emacs-${version} ${bindir}/$(EMACS)
278 281
279### Note that we copy the DOC-* files from the build etc directory 282install-doc: mkdir
280### as well as lots of things from ${srcdir}/etc. 283 if [ `(cd ./etc; /bin/pwd)` != `(cd ${docdir}; /bin/pwd)` ]; \
284 then \
285 echo "Copying etc/DOC* ..." ; \
286 (cd etc; tar -cf - DOC*)|(cd ${docdir}; umask 0; tar -xvf - ); \
287 else true; fi
288
281install-arch-indep: mkdir 289install-arch-indep: mkdir
282 -set ${COPYDESTS} ; \ 290 -set ${COPYDESTS} ; \
283 for dir in ${COPYDIR} ; do \ 291 for dir in ${COPYDIR} ; do \
@@ -301,11 +309,6 @@ install-arch-indep: mkdir
301 rm -f $${subdir}/*~ ; \ 309 rm -f $${subdir}/*~ ; \
302 done) ; \ 310 done) ; \
303 done 311 done
304 if [ `(cd ./etc; /bin/pwd)` != `(cd ${docdir}; /bin/pwd)` ]; \
305 then \
306 echo "Copying etc/DOC* ..." ; \
307 (cd etc; tar -cf - DOC*)|(cd ${docdir}; umask 0; tar -xvf - ); \
308 else true; fi
309 thisdir=`pwd`; \ 312 thisdir=`pwd`; \
310 if [ `(cd ${srcdir}/info && /bin/pwd)` != `(cd ${infodir} && /bin/pwd)` ]; \ 313 if [ `(cd ${srcdir}/info && /bin/pwd)` != `(cd ${infodir} && /bin/pwd)` ]; \
311 then \ 314 then \
@@ -327,7 +330,7 @@ install-arch-indep: mkdir
327### instead of mkdir. Not all systems' mkdirs have the `-p' flag. 330### instead of mkdir. Not all systems' mkdirs have the `-p' flag.
328mkdir: FRC.mkdir 331mkdir: FRC.mkdir
329 ./lib-src/make-path ${COPYDESTS} ${lockdir} ${infodir} ${mandir} \ 332 ./lib-src/make-path ${COPYDESTS} ${lockdir} ${infodir} ${mandir} \
330 ${bindir} ${datadir} ${libdir} \ 333 ${bindir} ${datadir} ${docdir} ${libdir} \
331 `echo ${locallisppath} | sed 's/:/ /'` 334 `echo ${locallisppath} | sed 's/:/ /'`
332 -chmod 777 ${lockdir} 335 -chmod 777 ${lockdir}
333 336