aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@hornquist.se>2019-07-21 16:11:45 +0200
committerHugo Hörnquist <hugo@hornquist.se>2019-07-21 16:11:45 +0200
commit6264b5ef10374c89d5f3697be4ccfd000dd9bd98 (patch)
treed138c28b52831a873711e384adfc01bac786a91b
parentRewrote build and main execution. (diff)
downloadcalp-6264b5ef10374c89d5f3697be4ccfd000dd9bd98.tar.gz
calp-6264b5ef10374c89d5f3697be4ccfd000dd9bd98.tar.xz
Add html target.
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2b22c86d..6ec726f4 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-.PHONY: all clean tests
+.PHONY: all clean tests html
CC := gcc
@@ -66,6 +66,11 @@ $(OBJDIR)/%.scm.go: %.scm $(SO_FILES)
%.pdf: %.dot
dot -Tpdf -o $@ $<
+html: $(GO_FILES)
+ mkdir -p html
+ ln -sf ../static html
+ module/main.scm html -f 2019-07-01 -t 2019-08-30 > html/index.html
+
tags: $(C_FILES) $(H_FILES)
ctags -R
./rfc-tags rfc5545.txt >> tags