From 10c8dd614eb672ca03eaae287554735adf62979f Mon Sep 17 00:00:00 2001 From: iximeow Date: Wed, 3 Jan 2018 04:30:38 -0800 Subject: add makefile to streamline publishing, build_index to generate writing.html --- Makefile | 6 ++++++ build_index.sh | 19 +++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 Makefile create mode 100755 build_index.sh diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..2ce6ec3 --- /dev/null +++ b/Makefile @@ -0,0 +1,6 @@ +generated/writing.html: + ./build_index.sh + +publish: generated/writing.html + rsync -av generated/ /home/iximeow/www.iximeow.net/ + echo "now go commit and push" diff --git a/build_index.sh b/build_index.sh new file mode 100755 index 0000000..b2f3654 --- /dev/null +++ b/build_index.sh @@ -0,0 +1,19 @@ +#! /usr/bin/env bash + +build_index() { + echo '' + echo '' + echo '' +} + +build_index > generated/writing.html -- cgit v1.1