comparison Makefile.in @ 349:8429d81ab209 r21-1-4

Import from CVS: tag r21-1-4
author cvs
date Mon, 13 Aug 2007 10:54:28 +0200
parents 9ea74add5d37
children 3b3709405255
comparison
equal deleted inserted replaced
348:0843b9714b95 349:8429d81ab209
172 172
173 ## Where to create and expect the locking directory, where 173 ## Where to create and expect the locking directory, where
174 ## the XEmacs locking code keeps track of which files are 174 ## the XEmacs locking code keeps track of which files are
175 ## currently being edited. 175 ## currently being edited.
176 lockdir=@lockdir@ 176 lockdir=@lockdir@
177
178 # Where to put the DOC file.
179 docdir=@docdir@
177 180
178 ## Where to put executables to be run by XEmacs rather than 181 ## Where to put executables to be run by XEmacs rather than
179 ## the user. This path usually includes the XEmacs version 182 ## the user. This path usually includes the XEmacs version
180 ## and configuration name, so that multiple configurations 183 ## and configuration name, so that multiple configurations
181 ## for multiple versions of XEmacs may be installed at 184 ## for multiple versions of XEmacs may be installed at
381 if test "`(cd ${archlibdir} && $(pwd))`" != \ 384 if test "`(cd ${archlibdir} && $(pwd))`" != \
382 "`(cd ./lib-src && $(pwd))`"; then \ 385 "`(cd ./lib-src && $(pwd))`"; then \
383 if test -f ../Installation; then \ 386 if test -f ../Installation; then \
384 ${INSTALL_DATA} ../Installation ${archlibdir}/Installation; \ 387 ${INSTALL_DATA} ../Installation ${archlibdir}/Installation; \
385 fi; \ 388 fi; \
386 for f in DOC config.values; do \ 389 ${INSTALL_DATA} lib-src/config.values ${archlibdir}/config.values; \
387 ${INSTALL_DATA} lib-src/$${f} ${archlibdir}/$${f}; \ 390 ${INSTALL_DATA} lib-src/DOC ${docdir}/DOC; \
388 done ; \
389 for subdir in `find ${archlibdir} -type d ! -name RCS ! -name SCCS ! -name CVS -print` ; \ 391 for subdir in `find ${archlibdir} -type d ! -name RCS ! -name SCCS ! -name CVS -print` ; \
390 do (cd $${subdir} && $(RM) -r RCS CVS SCCS \#* *~) ; done ; \ 392 do (cd $${subdir} && $(RM) -r RCS CVS SCCS \#* *~) ; done ; \
391 else true; fi 393 else true; fi
392 ${INSTALL_PROGRAM} src/${PROGNAME} ${bindir}/${PROGNAME}-${version} 394 ${INSTALL_PROGRAM} src/${PROGNAME} ${bindir}/${PROGNAME}-${version}
393 -chmod 0755 ${bindir}/${PROGNAME}-${version} 395 -chmod 0755 ${bindir}/${PROGNAME}-${version}
459 ## Build all the directories to install XEmacs in. 461 ## Build all the directories to install XEmacs in.
460 ## Since we may be creating several layers of directories, 462 ## Since we may be creating several layers of directories,
461 ## (e.g. /usr/local/lib/${PROGNAME}-20.5/sparc-sun-solaris2.6), we use 463 ## (e.g. /usr/local/lib/${PROGNAME}-20.5/sparc-sun-solaris2.6), we use
462 ## make-path instead of mkdir. Not all mkdirs have the `-p' flag. 464 ## make-path instead of mkdir. Not all mkdirs have the `-p' flag.
463 mkdir: FRC.mkdir 465 mkdir: FRC.mkdir
464 ${MAKEPATH} ${COPYDESTS} ${lockdir} ${infodir} ${archlibdir} \ 466 ${MAKEPATH} ${COPYDESTS} ${lockdir} $(docdir) ${infodir} ${archlibdir} \
465 ${mandir} ${bindir} ${datadir} ${libdir} ${pkgdir} 467 ${mandir} ${bindir} ${datadir} ${libdir} ${pkgdir}
466 -chmod 0777 ${lockdir} 468 -chmod 0777 ${lockdir}
467 469
468 ## Delete all the installed files that the `install' target would 470 ## Delete all the installed files that the `install' target would
469 ## create (but not the noninstalled files such as `make all' would 471 ## create (but not the noninstalled files such as `make all' would