summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-01-19 18:40:31 +0100
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-01-19 18:40:31 +0100
commit7b0baaab2b18e7232b48297de34887650f5b8ca6 (patch)
treecc7531f4ef3b5ed012616dca290e13065e95cab4 /Makefile
downloadlow-puszcza-7b0baaab2b18e7232b48297de34887650f5b8ca6.tar.gz
low-puszcza-7b0baaab2b18e7232b48297de34887650f5b8ca6.zip
Init
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/