Mercurial > hg > xemacs-beta
comparison Makefile.in.in @ 422:95016f13131a r21-2-19
Import from CVS: tag r21-2-19
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:25:01 +0200 |
parents | 41dbb7a9d5f2 |
children | 11054d720c21 |
comparison
equal
deleted
inserted
replaced
421:fff06e11db74 | 422:95016f13131a |
---|---|
90 ## The default location for installation. Everything is placed in | 90 ## The default location for installation. Everything is placed in |
91 ## subdirectories of this directory. The default values for many of | 91 ## subdirectories of this directory. The default values for many of |
92 ## the variables below are expressed in terms of this one, so you may | 92 ## the variables below are expressed in terms of this one, so you may |
93 ## not need to change them. This defaults to /usr/local. | 93 ## not need to change them. This defaults to /usr/local. |
94 prefix=@prefix@ | 94 prefix=@prefix@ |
95 | |
96 ## Variable data (as per each program update) goes here | |
97 ## The default is ${PROGNAME} | |
98 inststaticdir=@inststaticdir@ | |
99 | |
100 ## Static data (constant across program updates) goes here | |
101 ## The default is ${PROGNAME}-${version} | |
102 instvardir=@instvardir@ | |
95 | 103 |
96 ## Like `prefix', but used for architecture-specific files. | 104 ## Like `prefix', but used for architecture-specific files. |
97 exec_prefix=@exec_prefix@ | 105 exec_prefix=@exec_prefix@ |
98 | 106 |
99 ## Where to install XEmacs and other binaries that people will want to | 107 ## Where to install XEmacs and other binaries that people will want to |
394 if test "`(cd ${archlibdir} && $(pwd))`" != \ | 402 if test "`(cd ${archlibdir} && $(pwd))`" != \ |
395 "`(cd ./lib-src && $(pwd))`"; then \ | 403 "`(cd ./lib-src && $(pwd))`"; then \ |
396 if test -f ../Installation; then \ | 404 if test -f ../Installation; then \ |
397 ${INSTALL_DATA} ../Installation ${archlibdir}/Installation; \ | 405 ${INSTALL_DATA} ../Installation ${archlibdir}/Installation; \ |
398 fi; \ | 406 fi; \ |
399 ${INSTALL_DATA} lib-src/config.values ${archlibdir}/config.values; \ | 407 ${INSTALL_DATA} lib-src/config.values ${docdir}/config.values; \ |
400 ${INSTALL_DATA} lib-src/DOC ${docdir}/DOC; \ | 408 ${INSTALL_DATA} lib-src/DOC ${docdir}/DOC; \ |
401 for subdir in `find ${archlibdir} -type d ! -name RCS ! -name SCCS ! -name CVS -print` ; \ | 409 for subdir in `find ${archlibdir} -type d ! -name RCS ! -name SCCS ! -name CVS -print` ; \ |
402 do (cd $${subdir} && $(RM) -r RCS CVS SCCS \#* *~) ; done ; \ | 410 do (cd $${subdir} && $(RM) -r RCS CVS SCCS \#* *~) ; done ; \ |
403 else true; fi | 411 else true; fi |
404 ${INSTALL_PROGRAM} src/${PROGNAME} ${bindir}/${PROGNAME}-${version} | 412 ${INSTALL_PROGRAM} src/${PROGNAME} ${bindir}/${PROGNAME}-${version} |
405 -chmod 0755 ${bindir}/${PROGNAME}-${version} | 413 -chmod 0755 ${bindir}/${PROGNAME}-${version} |
406 cd ${bindir} && $(RM) ./${PROGNAME} && ${LN_S} ${PROGNAME}-${version} ./${PROGNAME} | 414 cd ${bindir} && $(RM) ./${PROGNAME} && ${LN_S} ${PROGNAME}-${version} ./${PROGNAME} |
407 if test "${prefix}" != "${exec_prefix}"; then \ | 415 if test "${prefix}" != "${exec_prefix}"; then \ |
408 for dir in \ | 416 for dir in \ |
409 lib/${PROGNAME} \ | 417 lib/${inststaticdir} \ |
410 lib/${PROGNAME}-${version}/etc \ | 418 lib/${instvardir}/etc \ |
411 lib/${PROGNAME}-${version}/info \ | 419 lib/${instvardir}/info \ |
412 lib/${PROGNAME}-${version}/lisp; do \ | 420 lib/${instvardir}/lisp; do \ |
413 if test ! -d ${exec_prefix}/$${dir}; then \ | 421 if test ! -d ${exec_prefix}/$${dir}; then \ |
414 $(LN_S) ${prefix}/$${dir} ${exec_prefix}/$${dir}; fi; \ | 422 $(LN_S) ${prefix}/$${dir} ${exec_prefix}/$${dir}; fi; \ |
415 done; \ | 423 done; \ |
416 fi | 424 fi |
417 | 425 |
449 for file in *.info* ; do \ | 457 for file in *.info* ; do \ |
450 ${INSTALL_DATA} $${file} ${infodir}/$${file} ; \ | 458 ${INSTALL_DATA} $${file} ${infodir}/$${file} ; \ |
451 chmod 0644 ${infodir}/$${file}; \ | 459 chmod 0644 ${infodir}/$${file}; \ |
452 done ; \ | 460 done ; \ |
453 fi | 461 fi |
454 ## Note it's `xemacs' not ${PROGNAME} | |
455 cd ${srcdir}/etc && \ | 462 cd ${srcdir}/etc && \ |
456 for page in xemacs etags ctags gnuserv gnuclient gnuattach gnudoit; do \ | 463 for page in xemacs etags ctags gnuserv gnuclient gnuattach gnudoit; do \ |
457 ${INSTALL_DATA} ${srcdir}/etc/$${page}.1 ${mandir}/$${page}${manext} ; \ | 464 ${INSTALL_DATA} ${srcdir}/etc/$${page}.1 ${mandir}/$${page}${manext} ; \ |
458 chmod 0644 ${mandir}/$${page}${manext} ; \ | 465 chmod 0644 ${mandir}/$${page}${manext} ; \ |
459 done | 466 done |