-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
48 lines (37 loc) · 970 Bytes
/
Makefile.am
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
include guile.am
SOURCES = \
cdr255/pagr.scm
EXTRA_DIST = \
README.md \
bootstrap \
pre-inst-env.in \
bin/pagr.scm
bin_SCRIPTS = \
pagr
TESTS=run-tests
#MOSTLYCLEANFILES +=
CLEANFILES += \
pagr \
cdr255/pagr.scm \
pagr
DISTCLEANFILES = \
config.status \
config.log \
Makefile \
run-tests \
basic-tests.log
#MAINTAINERCLEANFILES +=
pagr: src/exe.scm
sed -e 's,#!\/usr\/bin\/env -S guile -e main -s,\#!$(GUILE) \\,g' \
< $(srcdir)/src/exe.scm > ./pagr
chmod +x pagr
cdr255/pagr.scm:
mkdir -pv cdr255/
cat < $(srcdir)/src/main.scm \
> cdr255/pagr.scm
run-tests:
sed -e 's,#!\/usr\/bin\/env -S guile -e main -s,\#!$(GUILE) \\,g' \
< $(srcdir)/test/maintests.scm \
> run-tests
chmod +x run-tests
guile -C ./ ./run-tests