Mercurial > hg > xemacs-beta
comparison Makefile.in @ 183:e121b013d1f0 r20-3b18
Import from CVS: tag r20-3b18
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:54:23 +0200 |
parents | 6075d714658b |
children | 3d6bfa290dbd |
comparison
equal
deleted
inserted
replaced
182:f07455f06202 | 183:e121b013d1f0 |
---|---|
216 ## When installing the info files, we need to do special things to | 216 ## When installing the info files, we need to do special things to |
217 ## avoid nuking an existing dir file, so we don't do that here; | 217 ## avoid nuking an existing dir file, so we don't do that here; |
218 ## instead, we have written out explicit code in the `install' targets. | 218 ## instead, we have written out explicit code in the `install' targets. |
219 COPYDIR = ${srcdir}/etc ${srcdir}/lisp | 219 COPYDIR = ${srcdir}/etc ${srcdir}/lisp |
220 COPYDESTS = ${etcdir} ${lispdir} | 220 COPYDESTS = ${etcdir} ${lispdir} |
221 GENERATED_HEADERS = src/paths.h src/Emacs.ad.h src/puresize_adjust.h src/config.h lwlib/config.h | 221 GENERATED_HEADERS = src/paths.h src/Emacs.ad.h src/puresize-adjust.h src/config.h lwlib/config.h |
222 | 222 |
223 all: ${GENERATED_HEADERS} ${MAKE_SUBDIR} | 223 all: ${GENERATED_HEADERS} ${MAKE_SUBDIR} |
224 | 224 |
225 ## For performance and consistency, no built-in rules | 225 ## For performance and consistency, no built-in rules |
226 .SUFFIXES: | 226 .SUFFIXES: |
292 echo " Automatically generated from ${srcdir}/etc/Emacs.ad" ; \ | 292 echo " Automatically generated from ${srcdir}/etc/Emacs.ad" ; \ |
293 echo " */" ; \ | 293 echo " */" ; \ |
294 /bin/sh ${srcdir}/lib-src/ad2c ${srcdir}/etc/Emacs.ad ) > \ | 294 /bin/sh ${srcdir}/lib-src/ad2c ${srcdir}/etc/Emacs.ad ) > \ |
295 src/Emacs.ad.h | 295 src/Emacs.ad.h |
296 | 296 |
297 src/puresize_adjust.h: ${srcdir}/src/puresize.h | 297 src/puresize-adjust.h: ${srcdir}/src/puresize.h |
298 @echo "Resetting \`src/puresize_adjust.h'."; \ | 298 @echo "Resetting \`src/puresize-adjust.h'."; \ |
299 (echo "/* Do not edit this file!" ; \ | 299 (echo "/* Do not edit this file!" ; \ |
300 echo " Automatically generated by XEmacs */" ; \ | 300 echo " Automatically generated by XEmacs */" ; \ |
301 echo "#define PURESIZE_ADJUSTMENT 0") > $@ | 301 echo "#define PURESIZE_ADJUSTMENT 0") > $@ |
302 | 302 |
303 src: @SRC_SUBDIR_DEPS@ FRC.src | 303 src: @SRC_SUBDIR_DEPS@ FRC.src |
412 cd ${srcdir}/etc && \ | 412 cd ${srcdir}/etc && \ |
413 for page in xemacs etags ctags gnuserv gnuclient gnuattach gnudoit; do \ | 413 for page in xemacs etags ctags gnuserv gnuclient gnuattach gnudoit; do \ |
414 ${INSTALL_DATA} ${srcdir}/etc/$${page}.1 ${mandir}/$${page}${manext} ; \ | 414 ${INSTALL_DATA} ${srcdir}/etc/$${page}.1 ${mandir}/$${page}${manext} ; \ |
415 chmod 0644 ${mandir}/$${page}${manext} ; \ | 415 chmod 0644 ${mandir}/$${page}${manext} ; \ |
416 done | 416 done |
417 if test ! -d ${prefix}/bin; then \ | 417 if test "${prefix}" != "${exec_prefix}"; then : extreme bogosity follows; \ |
418 test ! -d ${prefix}/bin && \ | |
418 $(LN_S) ${exec_prefix}/bin ${prefix}/bin; \ | 419 $(LN_S) ${exec_prefix}/bin ${prefix}/bin; \ |
419 fi | 420 test ! -d ${prefix}/lib/xemacs-${version}/${configuration} && \ |
420 if test ! -d ${prefix}/lib/xemacs-${version}/${configuration}; then \ | |
421 ${LN_S} ${exec_prefix}/lib/xemacs-${version}/${configuration} \ | 421 ${LN_S} ${exec_prefix}/lib/xemacs-${version}/${configuration} \ |
422 ${prefix}/lib/xemacs-${version}/${configuration}; \ | 422 ${prefix}/lib/xemacs-${version}/${configuration}; \ |
423 fi | 423 fi |
424 @echo "If you would like to save approximately 15M of disk space, do" | 424 @echo "If you would like to save approximately 15M of disk space, do" |
425 @echo "make gzip-el" | 425 @echo "make gzip-el" |
426 @echo "or you may run " | 426 @echo "or you may run " |
427 @echo lib-src/gzip-el.sh lispdir " from the command line." | 427 @echo lib-src/gzip-el.sh lispdir " from the command line." |
430 | 430 |
431 gzip-el: | 431 gzip-el: |
432 lib-src/gzip-el.sh ${lispdir} | 432 lib-src/gzip-el.sh ${lispdir} |
433 | 433 |
434 MAKEPATH=./lib-src/make-path | 434 MAKEPATH=./lib-src/make-path |
435 ## Build all the directories we're going to install XEmacs in. Since | 435 ## Build all the directories to install XEmacs in. |
436 ## we may be creating several layers of directories (for example, | 436 ## Since we may be creating several layers of directories, |
437 ## /usr/local/lib/xemacs-19.13/mips-dec-ultrix4.2), we use make-path | 437 ## (e.g. /usr/local/lib/xemacs-20.5/sparc-sun-solaris2.6), we use |
438 ## instead of mkdir. Not all systems' mkdirs have the `-p' flag. | 438 ## make-path instead of mkdir. Not all mkdirs have the `-p' flag. |
439 mkdir: FRC.mkdir | 439 mkdir: FRC.mkdir |
440 ${MAKEPATH} ${COPYDESTS} ${lockdir} ${infodir} ${mandir} \ | 440 ${MAKEPATH} ${COPYDESTS} ${lockdir} ${infodir} ${archlibdir} \ |
441 ${bindir} ${datadir} ${libdir} ${sitelispdir} ${pkdir} | 441 ${mandir} ${bindir} ${datadir} ${libdir} ${sitelispdir} ${pkgdir} |
442 -chmod 0777 ${lockdir} | 442 -chmod 0777 ${lockdir} |
443 | 443 |
444 ## Delete all the installed files that the `install' target would | 444 ## Delete all the installed files that the `install' target would |
445 ## create (but not the noninstalled files such as `make all' would | 445 ## create (but not the noninstalled files such as `make all' would |
446 ## create). | 446 ## create). |