aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2020-08-03 12:53:58 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2020-08-03 12:53:58 +0200
commitd784256c29d87e26978b3f3656ceb7fc76fd7913 (patch)
treeecc9c5e2bb447f082775ae136bbbdcf99151f280 /Makefile
parentResolve (datetime instance) TODO with ./configure? (diff)
downloadcalp-d784256c29d87e26978b3f3656ceb7fc76fd7913.tar.gz
calp-d784256c29d87e26978b3f3656ceb7fc76fd7913.tar.xz
Update README with new build instructions.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 097629d9..00cbc560 100644
--- a/Makefile
+++ b/Makefile
@@ -12,7 +12,7 @@ GUILE_C_FLAGS = -Lmodule \
-Wmacro-use-before-definition -Warity-mismatch \
-Wduplicate-case-datum -Wbad-case-datum
-all: $(GO_FILES)
+all: $(GO_FILES) README
obj/%.scm.go: %.scm
@mkdir -p obj
@@ -29,5 +29,8 @@ install:
rsync -a static $(DESTDIR)/usr/share/calp/www
# TODO main, tzget
+README: README.in
+ ./main text < README.in | sed "s/<<today>>/`date -I`/" > README
+
test:
tests/run-tests.scm