saait

Simple static page generator
git clone https://git.sinitax.com/codemadness/saait
Log | Files | Refs | README | LICENSE | Upstream | sfeed.txt

commit ec32a2cae8a20caff76d20e3ede4485cbeecf984
parent 2877abf24a88d4ac8fdf7e62a1fc44619736551c
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:
AMakefile.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/htdocs/