add example Makefile for generating pages and syncing - saait - the most boring… | |
git clone git://git.codemadness.org/saait | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit ec32a2cae8a20caff76d20e3ede4485cbeecf984 | |
parent 2877abf24a88d4ac8fdf7e62a1fc44619736551c | |
Author: Hiltjo Posthuma <[email protected]> | |
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(-) | |
--- | |
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/htd… |