Files
digiproof/Makefile

17 lines
283 B
Makefile
Raw Normal View History

2013-09-12 23:13:49 +02:00
ts != date +"%Y-%m-%d-%H%M%S"
dst = .backup/$(ts)
src = js *.html css
2013-09-12 23:13:49 +02:00
vers = js/libs/version.js
all: backup
@echo var VERSION = \"$(ts)\" > $(vers);
./mksingleton.pl prod index.html
./mksingleton.pl dev index.html
2013-09-12 23:13:49 +02:00
backup:
mkdir -p $(dst)
cp -pRP $(src) $(dst)/