summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMichal Idziorek <m.i@gmx.at>2022-05-28 19:47:58 +0200
committerMichal Idziorek <m.i@gmx.at>2022-05-28 19:47:58 +0200
commit23d6073e923efe918959366fc94731b79fd8cce7 (patch)
treea13a0c16b9dafb7f088deeea1982d7c69e38ddbb /Makefile
parenta73dbb8ef4ba6522f72da8cf85bc3a771a4a61a7 (diff)
temporary add some files from other sf.com pageHEADmaster
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 6 insertions, 10 deletions
diff --git a/Makefile b/Makefile
index 538cc76..330e86c 100644
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,6 @@
-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
+help: ## Show this help.
+ @sed -ne '/@sed/!s/## //p' $(MAKEFILE_LIST)
+build-page: ## Build www.softwarefools.com
+ estatico-exe . /tmp/www.softwarefools.com https://www.softwarefools.com
+upload-page: ## Upload www.softwarefools.com to comet
+ rsync -r -u -v /tmp/www.softwarefools.com/* comet:/var/www/www.softwarefools.com/