Mercurial > emacs
comparison Makefile.in @ 7390:989492b57d5e
(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.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 07 May 1994 03:15:33 +0000 |
parents | b4ef2060b171 |
children | a25ee02b41c8 |
comparison
equal
deleted
inserted
replaced
7389:b0bb6f6dd7fe | 7390:989492b57d5e |
---|---|
268 ## ever modify src/paths.h. | 268 ## ever modify src/paths.h. |
269 install: ${SUBDIR} install-arch-dep install-arch-indep; | 269 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} \ |
280 archlibdir=${archlibdir}) | 277 archlibdir=${archlibdir}) |
281 ${INSTALL_PROGRAM} src/emacs ${bindir}/emacs-${version} | 278 ${INSTALL_PROGRAM} src/emacs ${bindir}/emacs-${version} |
282 -chmod 1755 ${bindir}/emacs-${version} | 279 -chmod 1755 ${bindir}/emacs-${version} |
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 \ |
296 if [ `(cd $$1 && pwd)` != `(cd $${dir} && pwd)` ] ; then \ | 288 if [ `(cd $$1 && pwd)` != `(cd $${dir} && pwd)` ] ; then \ |
297 rm -rf $$1 ; \ | 289 rm -rf $$1 ; \ |
311 rm -rf $${subdir}/CVS ; \ | 303 rm -rf $${subdir}/CVS ; \ |
312 rm -f $${subdir}/\#* ; \ | 304 rm -f $${subdir}/\#* ; \ |
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 \ |
319 (cd ${srcdir}/info ; \ | 316 (cd ${srcdir}/info ; \ |
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 |
327 thisdir=`pwd`; cd ${srcdir}/etc; for page in emacs etags ctags ; do \ | 324 thisdir=`pwd`; cd ${srcdir}/etc; for page in emacs etags ctags ; do \ |
328 (cd $${thisdir}; ${INSTALL_DATA} ${srcdir}/etc/$${page}.1 ${mandir}/$${page}${manext}); \ | 325 (cd $${thisdir}; ${INSTALL_DATA} ${srcdir}/etc/$${page}.1 ${mandir}/$${page}${manext}); \ |