67 lines
1.3 KiB
Plaintext
Executable File
67 lines
1.3 KiB
Plaintext
Executable File
. ../config/system
|
|
. ../config/site
|
|
|
|
echo Building Makefile.local...
|
|
cat >Makefile.local <<EOT
|
|
# This Makefile was produced by running ./build in this directory.
|
|
|
|
SHELL=/bin/sh
|
|
|
|
FILES= apropos.scm\\
|
|
bitstring.scm\\
|
|
cscheme.scm\\
|
|
debug.scm\\
|
|
describe.scm\\
|
|
gdbmtest.scm\\
|
|
initscheme.scm\\
|
|
motif.scm\\
|
|
oops.scm\\
|
|
parse.scm\\
|
|
pp.scm\\
|
|
qsort.scm\\
|
|
record.scm\\
|
|
recordutil.scm\\
|
|
regexp.scm\\
|
|
safe-env.scm\\
|
|
setf.scm\\
|
|
siteinfo.scm\\
|
|
struct.scm\\
|
|
toplevel.scm\\
|
|
trace.scm\\
|
|
unix.scm\\
|
|
xlib.scm\\
|
|
xt.scm\\
|
|
xwidgets.scm
|
|
|
|
TARGETS= siteinfo.scm
|
|
|
|
all: \$(TARGETS)
|
|
|
|
localize: \$(TARGETS)
|
|
|
|
siteinfo.scm: ../config/system ../config/site
|
|
\$(SHELL) ./build-siteinfo
|
|
|
|
install: \$(TARGETS)
|
|
-@if [ ! -d $install_dir/share ]; then \\
|
|
echo mkdir $install_dir/share; \\
|
|
mkdir $install_dir/share; \\
|
|
fi
|
|
-@if [ ! -d $install_dir/share/elk ]; then \\
|
|
echo mkdir $install_dir/share/elk; \\
|
|
mkdir $install_dir/share/elk; \\
|
|
fi
|
|
@for i in \$(FILES) ;\\
|
|
do \\
|
|
echo cp \$\$i $install_dir/share/elk; \\
|
|
cp \$\$i $install_dir/share/elk; \\
|
|
done
|
|
|
|
lint:
|
|
|
|
clean:
|
|
|
|
distclean:
|
|
rm -f \$(TARGETS) Makefile.local
|
|
EOT
|