Files
digiproof/Makefile
git@daemon.de 10e5d547f3 Changed the build process it generates a devel and a prod version
of the source, added some screenshots and a sample printout, couple
bugfixes.
2013-09-14 13:14:06 +02:00

17 lines
283 B
Makefile

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