Makefile: add target to create temporary draft output - www.codemadness.org - www.codemadness.org saait content files
HTML git clone git://git.codemadness.org/www.codemadness.org
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 7e150d83312015ec3e10eba69e76c9b6d9dfbb99
DIR parent 25bd05ffa5c84e26b670001e712a7626e37a88ef
HTML Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 20 May 2023 11:50:46 +0200
Makefile: add target to create temporary draft output
Diffstat:
M Makefile | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
---
DIR diff --git a/Makefile b/Makefile
@@ -22,6 +22,12 @@ generate: markdown sfeeddoc
# move index.gopher to index.
mv output/index.gopher output/index
+draft:
+ rm -rf /tmp/www-drafts
+ mkdir -p /tmp/www-drafts
+ cp style.css /tmp/www-drafts
+ saait -c config.cfg -o /tmp/www-drafts draft/*.cfg
+
sfeeddoc:
# sfeed format documentation
mandoc -Ios="Some OS 1.0" -Tutf8 sfeed.1 | col -b > output/sfeed.1.txt
@@ -57,4 +63,4 @@ bump:
sync: check
rsync -av output/ hiltjo@cow:/home/www/domains/www.codemadness.org/htdocs/
-.PHONY: check generate view sync
+.PHONY: check draft generate view sync