From 3a2940a9648a4a6e3b47b5a55643f357fc7e6790 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Sat, 19 Aug 2023 18:22:10 +0200 Subject: Refactored build script; bye gemini --- Makefile | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index ea13048..63cd48b 100644 --- a/Makefile +++ b/Makefile @@ -1,20 +1,16 @@ DEST="tronto.net:/var/www/htdocs/sebastiano.tronto.net" -DESTGEMINI="tronto.net:/var/gemini" RSYNC=$$( (command -V rsync 2>&1 > /dev/null && echo rsync) || echo openrsync) all: clean ./build.sh clean: - rm -rf http gemini - mkdir -p http gemini + rm -rf http + mkdir -p http -deploy: syncgemini synchttp - -syncgemini: - ${RSYNC} -rv --delete --rsync-path=openrsync gemini/ ${DESTGEMINI} +deploy: synchttp synchttp: ${RSYNC} -rv --delete --rsync-path=openrsync http/ ${DEST} -.PHONY: all clean deploy syncgemini synchttp +.PHONY: all clean deploy synchttp -- cgit v1.3