comparison Makefile.in @ 18533:d9160fd77816

(install-leim): New target.
author Kenichi Handa <handa@m17n.org>
date Wed, 02 Jul 1997 06:45:51 +0000
parents de84167645e0
children ea924276b44b
comparison
equal deleted inserted replaced
18532:488df9d19f5e 18533:d9160fd77816
272 ## place with their files read-only (perhaps because they are checked 272 ## place with their files read-only (perhaps because they are checked
273 ## into RCS). In order to make this safe, we make sure that the 273 ## into RCS). In order to make this safe, we make sure that the
274 ## source exists and is distinct from the destination. 274 ## source exists and is distinct from the destination.
275 ### We do install-arch-indep first because 275 ### We do install-arch-indep first because
276 ### the executable needs the Lisp files and DOC file to work properly. 276 ### the executable needs the Lisp files and DOC file to work properly.
277 install: all install-arch-indep install-arch-dep blessmail 277 install: all install-arch-indep install-arch-dep blessmail install-leim
278 @true 278 @true
279 279
280 ### Install the executables that were compiled specifically for this machine. 280 ### Install the executables that were compiled specifically for this machine.
281 ### It would be nice to do something for a parallel make 281 ### It would be nice to do something for a parallel make
282 ### to ensure that install-arch-indep finishes before this starts. 282 ### to ensure that install-arch-indep finishes before this starts.
292 -ln ${bindir}/emacs-${version} ${bindir}/$(EMACS) 292 -ln ${bindir}/emacs-${version} ${bindir}/$(EMACS)
293 293
294 ### Install the files that are machine-independent. 294 ### Install the files that are machine-independent.
295 ### Most of them come straight from the distribution; 295 ### Most of them come straight from the distribution;
296 ### the exception is the DOC-* files, which are copied 296 ### the exception is the DOC-* files, which are copied
297 ### from the build directory. 297 ## from the build directory.
298 298
299 ### Note that we copy DOC* and then delete DOC 299 ## Note that we copy DOC* and then delete DOC
300 ### as a workaround for a bug in tar on Ultrix 4.2. 300 ## as a workaround for a bug in tar on Ultrix 4.2.
301 install-arch-indep: mkdir 301 nstall-arch-indep: mkdir
302 -set ${COPYDESTS} ; \ 302 -set ${COPYDESTS} ; \
303 for dir in ${COPYDIR} ; do \ 303 for dir in ${COPYDIR} ; do \
304 if [ `(cd $$1 && /bin/pwd)` != `(cd $${dir} && /bin/pwd)` ] ; then \ 304 if [ `(cd $$1 && /bin/pwd)` != `(cd $${dir} && /bin/pwd)` ] ; then \
305 rm -rf $$1 ; \ 305 rm -rf $$1 ; \
306 fi ; \ 306 fi ; \
366 (cd $${thisdir}; \ 366 (cd $${thisdir}; \
367 ${INSTALL_DATA} ${srcdir}/etc/$${page}.1 ${man1dir}/$${page}${manext}; \ 367 ${INSTALL_DATA} ${srcdir}/etc/$${page}.1 ${man1dir}/$${page}${manext}; \
368 chmod a+r ${man1dir}/$${page}${manext}); \ 368 chmod a+r ${man1dir}/$${page}${manext}); \
369 done 369 done
370 370
371 ### Install LEIM files. Although they are machine-independent, we
372 ### have separate target here instead of including it in
373 ### `install-arch-indep'. People who extracted LEIM files after they
374 ### insalled Emacs itself can install only LEIM files by this target.
375 install-leim: leim/Makefile
376 cd leim; $(MAKE) install
377
371 ### Build Emacs and install it, stripping binaries while installing them. 378 ### Build Emacs and install it, stripping binaries while installing them.
372 install-strip: 379 install-strip:
373 $(MAKE) INSTALL_STRIP=-s 380 $(MAKE) INSTALL_STRIP=-s
374 381
375 ### Build all the directories we're going to install Emacs in. Since 382 ### Build all the directories we're going to install Emacs in. Since