summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..78f9724
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,12 @@
+generate:
+	mkdir -p output
+	find pages -type f -name '*.cfg' -print0 | sort -zr | xargs -0 saait
+	cp style.css print.css output/
+	zip -r kronika.zip output
+	mv kronika.zip output/kronika.zip
+
+view:
+	$(BROWSER) output/index.html
+
+sync:
+	rsync -av output/ hiltjo@cow:/home/www/domains/www.codemadness.org/htdocs/