Makefile can use multiple interpreter and we are ecl compliant now - cl-yag - Common Lisp Yet Another website Generator
HTML git clone git://bitreich.org/cl-yag/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/cl-yag/
DIR Log
DIR Files
DIR Refs
DIR Tags
DIR README
DIR LICENSE
---
DIR commit f837cf5d08134bf5e665f7b9263b2fe619f4da08
DIR parent b0cd4f627992889230b31f3b414d0cbd16099610
HTML Author: solene rapenne <solene@dataswamp.org>
Date: Fri, 13 May 2016 15:16:31 +0200
Makefile can use multiple interpreter and we are ecl compliant now
Diffstat:
M Makefile | 13 ++++++++++++-
M generator.lisp | 1 -
2 files changed, 12 insertions(+), 2 deletions(-)
---
DIR diff --git a/Makefile b/Makefile
@@ -1,7 +1,18 @@
+LISP=ecl
+PARAM=""
+
+.if "${LISP}" == "sbcl"
+PARAM=--dynamic-space-size 60 --script
+.elif "${LISP}" == "clisp"
+PARAM=
+.elif "${LISP}" == "ecl"
+PARAM=-shell
+.endif
+
all:
mkdir -p output/static
cp -fr static/* output/static/
- sbcl --dynamic-space-size 60 --script generator.lisp
+ $(LISP) $(PARAM) generator.lisp
clean:
rm -fr output/*
DIR diff --git a/generator.lisp b/generator.lisp
@@ -172,4 +172,3 @@
)
(generate-site)
-(exit)