From b0760a35cb33dde14ddb075ceae1ed2bfa3b1435 Mon Sep 17 00:00:00 2001 From: "Yann Esposito (Yogsototh)" Date: Tue, 27 Apr 2021 15:06:55 +0200 Subject: [PATCH] Almost complete --- Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Makefile b/Makefile index f87ed79..cc10bc2 100644 --- a/Makefile +++ b/Makefile @@ -68,6 +68,18 @@ $(DST_DIR)/%.gmi: $(SRC_DIR)/%.org $(GMI) "$<" "$@" +# OPTIM PHASE + +OPTIM_DIR ?= _optim +$(OPTIM_DIR)/index.html: $(HTML_INDEX) $(SRC_RAW_FILES) + mkdir -p $(OPTIM_DIR) + engine/pre-deploy.sh + +optim: $(OPTIM_DIR)/index.html + +deploy: $(OPTIM_DIR)/index.html + engine/sync.sh + allatend: $(ALL) clean: