aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d08f116..1bcfe23 100644
--- a/Makefile
+++ b/Makefile
@@ -7,6 +7,7 @@ BUILD = www/$(INDEX) apache/praat.conf
REPODATA = repo/db repo/dists repo/pool
REPOHOST = www.cefala.org
USER = rlaboiss
+TODAY = $(shell date)
build-stamp: $(BUILD)
mkdir -p $(REPODATA)
@@ -25,7 +26,7 @@ install-www: build-stamp
sudo service apache2 restart
%: %.in
- sed -e 's|@WWWHOST@|$(WWWHOST)|;s|@WWWDIR@|$(WWWDIR)|;s|@INDEX@|$(INDEX)|;s|@GPGKEY@|$(GPGKEY)|' $< > $@
+ sed -e 's|@WWWHOST@|$(WWWHOST)|;s|@WWWDIR@|$(WWWDIR)|;s|@INDEX@|$(INDEX)|;s|@GPGKEY@|$(GPGKEY)|;s|@TODAY@|$(TODAY)|' $< > $@
.PHONY: clean
clean: