blob: c5df9053a9d5576249691be90156927a3b576b58 (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
PREFIX=/
SHARE=$(PREFIX)/share/yale-haskell
DIRS= \
cfn \
com \
flic \
derived \
command-interface \
type \
printers \
cl-support \
progs/prelude \
csys \
prec \
depend \
import-export \
runtime \
backend \
util \
parser \
top \
tdecl \
support \
ast
build:
sh ./build-clisp-haskell.bash
install-doc:
install -d $(SHARE)/doc
cp -ar ./doc $(SHARE)
install-examples:
install -d $(SHARE)
cp -ar ./progs/demo $(SHARE)
install-lisp:
for dir in $(DIRS); do \
install -d $(SHARE)/$$dir; \
cp -ar $$dir/clisp $(SHARE)/$$dir; \
done
install command-interface-help $(SHARE)
install: install-doc install-lisp install-examples
install -d $(PREFIX)/bin
install ./bin/clisp-haskell $(PREFIX)/bin
echo "#!/bin/sh" > $(PREFIX)/bin/yale-haskell
echo -n "export HASKELL=" >> $(PREFIX)/bin/yale-haskell
echo $(SHARE) >> $(PREFIX)/bin/yale-haskell
echo $(PREFIX)/bin/clisp-haskell >> $(PREFIX)/bin/yale-haskell
chmod +x $(PREFIX)/bin/yale-haskell
|