3 # GCLDIR should be where gcl was built, and the o/*.o lsp/*.o etc must be
4 # there to link with maxima
5 GCLDIR
=/home
/wfs
/cvs
/gcl
6 # the directory where this file is, and where you will build maxima
9 MAXDIR
=/home
/wfs
/cvs
/maxima
10 # where to put some maxima .el files
11 EMACS_SITE_LISP
=/usr
/local
/lib
/emacs
/site-lisp
13 # determines where to install
14 # PREFIX_DIR=/usr/local puts things in /usr/local/lib/maxima-x.y
17 INFO_DIR
=${PREFIX_DIR}/info
18 MAN_DIR
=${PREFIX_DIR}/man
/man1
19 ##### end editing #########
21 if [ -f ${GCLDIR}/makedefs
] ;then
22 cat ${GCLDIR}/makedefs
> makedefs
24 echo '${GCLDIR}/makedefs' "(${GCLDIR}/makedefs)" not found.. so leaving blank..
28 echo GCLDIR
=${GCLDIR} >>makedefs
29 echo MAXDIR
=${MAXDIR} >>makedefs
30 echo PREFIX_DIR
=${PREFIX_DIR} >>makedefs
31 echo EMACS_SITE_LISP
=${EMACS_SITE_LISP} >> makedefs
32 echo INFO_DIR
=${INFO_DIR} >> makedefs
33 echo MAN_DIR
=${MAN_DIR} >> makedefs
34 echo '# end maxmakedefs' >> makedefs
36 echo inserting makedefs
in ..
37 for v
in makefile src
/makefile info
/makefile elisp
/makefile
40 ${GCLDIR}/xbin
/file-sub makedefs
$v "# begin makedefs" '# end maxmakedefs'