Merge branch 'master' into rtoy-generate-command-line-texi-table
[maxima.git] / archive / bin / add-all-defs
blob0811164fd443a5bd68b2bf40fbaee9c07fa06735
1 #!/bin/sh
3 # this is where the merge and the rest of AKCL is
4 KCLDIR=/public/akcl
5 MAXDIR=`pwd`
7 bin/fix-path doc/macsym-index.LISP ${MAXDIR}
8 bin/fix-path src/macdes.lisp ${MAXDIR}
9 bin/fix-path doc/maxima.l ${MAXDIR}
12 if [ -f ${KCLDIR}/merge ]
13 then
14 echo "MAXDIR = ${MAXDIR}" > Makedefs
15 echo "KCLDO = ${KCLDIR}/o/" >> Makedefs
16 echo "KCLDLSP = ${KCLDIR}/lsp/" >> Makedefs
17 echo "KCLDCMP = ${KCLDIR}/cmpnew/" >> Makedefs
18 echo "MAXSRC = ../src/" >> Makedefs
19 cat ${KCLDIR}/makedefs >> Makedefs
20 echo "" >> Makedefs
21 echo "KCLDIR = ${KCLDIR}" >> Makedefs
22 # if you need to add additional items FOO to each makefile
23 # on the next line put "echo FOO >> Makedefs "
24 for v in makefile src/makefile c/makefile unixport/makefile doc/makefile;
26 echo bin/add-defs ${KCLDIR} Makedefs $v
27 bin/add-defs ${KCLDIR} Makedefs $v
28 done
29 else
30 echo cant find kcl/merge
31 echo edit bin/add-all-defs To give KCLDIR where it resides
32 exit 1
35 exit 0