--- makefile.orig Sun May 6 02:18:49 2001 +++ makefile Mon Dec 3 22:20:13 2001 @@ -198,10 +198,12 @@ -if [ -d "${prefix}/lib" ] ;then true; else mkdir ${prefix}/lib ; fi -if [ -d "${prefix}/bin" ] ;then true; else mkdir ${prefix}/bin ; fi -if [ -d "${INSTALL_LIB_DIR}" ] ; then true; else mkdir ${INSTALL_LIB_DIR} ;fi + -if [ -d "${prefix}/info" ];then true; else mkdir ${prefix}/info ; fi make install-command "INSTALL_LIB_DIR=${INSTALL_LIB_DIR}" "prefix=${prefix}" rm -f ${prefix}/bin/gcl.exe - tar cvf - unixport/saved_gcl info/*info* doc/*.el ${LISP_LIB} \ + tar cvf - unixport/saved_gcl doc/*.el ${LISP_LIB} \ gcl-tk/gcl.tcl gcl-tk/gcltkaux | (cd ${INSTALL_LIB_DIR} ;tar xvf -) + strip ${INSTALL_LIB_DIR}/unixport/saved_gcl ln ${SYMB} ${INSTALL_LIB_DIR}/unixport/saved_gcl \ ${prefix}/bin/gcl.exe -cat gcl-tk/gcltksrv | \ --- makedefc.in.orig Tue Dec 4 01:39:21 2001 +++ makedefc.in Tue Dec 4 02:25:46 2001 @@ -16,13 +16,18 @@ prefix=@prefix@ # where to place the info files -INFO_DIR=@INFO_DIR@ +INFO_DIR=@prefix@/info + +# configure has a clever process for figuring out where Emacs +# really expects to find site-lisp and default.el. We use +# these values instead to ensure that building with --prefix=PREFIX +# will not make changes outside the specified tree. -twp # where to put emacs lisp files. -EMACS_SITE_LISP=@EMACS_SITE_LISP@ +EMACS_SITE_LISP=@prefix@/share/emacs/site-lisp # the default.el file -EMACS_DEFAULT_EL=@EMACS_DEFAULT_EL@ +EMACS_DEFAULT_EL=@prefix@/share/emacs/site-lisp/default.el # numerous TCL/TK variables culled from the tkConfig.sh and tclConfig.sh # if these are found.