aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJasper Van der Jeugt2020-08-10 15:33:21 +0200
committerJasper Van der Jeugt2020-08-10 15:33:21 +0200
commit35453c590cae70e917bbafa61389044cb8ee7373 (patch)
treeb7c9769ef107c0a2ab95b1577cb78eed5f3efee9 /Makefile
parentc4938ecf7e6b988bdfeaea56e367c5fbfc9dd858 (diff)
Include version info
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 79dc190..52aa169 100644
--- a/Makefile
+++ b/Makefile
@@ -37,7 +37,8 @@ server/assets/client.js: $(ELM_MESSAGES_SOURCE) $(ELM_SOURCES)
cd client && elm make src/Client.elm --optimize --output=../$@
server/assets/client.html: client/index.html config.mk
- sed "s@\$$CAFP_BASE@$(CAFP_BASE)@" $< >$@
+ sed "s@\$$CAFP_BASE@$(CAFP_BASE)@" $< | \
+ sed "s@\$$CAFP_VERSION@$(CAFP_VERSION)@" >$@
server/assets/style.css: client/style.css
cp $< $@