From 7c432e06f15426f92da31c6d6185bff52bb5b20c Mon Sep 17 00:00:00 2001 From: Miguel Date: Mon, 18 Mar 2019 11:08:08 +0100 Subject: added Makefile and fixed estatico link --- Makefile | 10 ++++++++++ template.html | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..538cc76 --- /dev/null +++ b/Makefile @@ -0,0 +1,10 @@ +ESTATICO_BIN=/home/miguel/git/estatico/.stack-work/install/x86_64-linux/lts-13.5/8.6.3/bin/estatico-exe +TARGET_DIR=/mnt/andromeda/htmlpub/softwarefools_com/ +SOURCE_DIR=$(shell pwd) +URL=https://softwarefools.com + +build: + - mkdir $(TARGET_DIR) + ${ESTATICO_BIN} $(SOURCE_DIR) $(TARGET_DIR) $(URL) +clean: + rm $(TARGET_DIR) -r diff --git a/template.html b/template.html index 9f6e1cf..80fde51 100644 --- a/template.html +++ b/template.html @@ -53,7 +53,7 @@ -- cgit v1.2.3