aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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