From c193f1d5c9d71c015f4a5464bcd33034fae5d28a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Ortega=20Froysa?= Date: Mon, 17 Feb 2025 14:45:56 +0100 Subject: [PATCH] Remove Makefile --- Makefile | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 Makefile diff --git a/Makefile b/Makefile deleted file mode 100644 index 28a3543..0000000 --- a/Makefile +++ /dev/null @@ -1,27 +0,0 @@ -OUTPUT_DIR=./output -WEB_ROOT=/var/www/themusicinnoise.net/main - -.PHONY: all pages blog clean install - -all: pages blog - cp -r static/* $(OUTPUT_DIR) - -pages: - mkdir -p $(OUTPUT_DIR) - find pages -type f -name '*.cfg' -print0 | sort -zr | xargs -0 saait -o $(OUTPUT_DIR)/ - -blog: - mkdir -p $(OUTPUT_DIR)/blog - cat templates/page/header.html blog/templates/index.html/header-part.html > blog/templates/index.html/header.html - sed -i -e 's/\$${title}/Blog/' blog/templates/index.html/header.html - cat blog/templates/index.html/footer-part.html templates/page/footer.html > blog/templates/index.html/footer.html - find blog/posts -type f -name '*.cfg' -print0 | sort -zr | xargs -0 saait -o $(OUTPUT_DIR)/blog/ -t blog/templates/ - -clean: - rm -rf $(OUTPUT_DIR) - rm -f blog/templates/index.html/header.html - rm -f blog/templates/index.html/footer.html - -install: all - mkdir -p $(WEB_ROOT) - cp -r $(OUTPUT_DIR)/* $(WEB_ROOT)/