add example Makefile for generating pages and syncing - saait - the most boring static page generator
HTML git clone git://git.codemadness.org/saait
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit ec32a2cae8a20caff76d20e3ede4485cbeecf984
DIR parent 2877abf24a88d4ac8fdf7e62a1fc44619736551c
HTML Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Wed, 12 Jun 2019 09:48:11 +0200
add example Makefile for generating pages and syncing
make - builds pages.
make sync - rsync files to remote host.
make view - view index file in the browser (for preview).
Diffstat:
A Makefile.example | 9 +++++++++
1 file changed, 9 insertions(+), 0 deletions(-)
---
DIR diff --git a/Makefile.example b/Makefile.example
@@ -0,0 +1,9 @@
+generate:
+ saait `ls -1r pages/*.cfg`
+ cp style.css print.css output/
+
+view:
+ $(BROWSER) output/index.html
+
+sync:
+ rsync -av output/ hiltjo@cow:/home/www/domains/www.codemadness.org/htdocs/