commit ee5e8c1cd70311a458791d282a2a45d25dd0a35e parent 728f8890501c7ead2aa40b4ea5ef935948a4b7e3 Author: lou woell <lou@repetitions.de> Date: Sun, 6 Sep 2026 16:31:14 +0200 add asset linker Diffstat:
| M | makefile | | | 11 | +++++++++-- |
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/makefile b/makefile @@ -15,7 +15,14 @@ VERSIONS=la_spinoza en_elwes de_stern de_auerbach fr_saisset fr_appuhn HTML = $(foreach v, $(VERSIONS), $(BUILD_DIR)/$(v).html) .PHONY: all -all: $(HTML) +all: $(HTML) $(BUILD_DIR)/assets + +$(BUILD_DIR)/assets: + @echo --- + @echo Link assets + @echo + ln -sfr assets -t $(BUILD_DIR) + @echo --- $(HTML) &: $(DATA_DIR)/* $(DATA_DIR)/meta.json $(TEMPLATE_DIR) $(GEN) @echo --- @@ -48,7 +55,7 @@ deploy: $(ARCHIVE) all @echo --- @echo Uploading files. @echo - rsync -rL $(BUILD_DIR)/ repetitions:~/ethica + rsync -vrL --delete $(BUILD_DIR)/ repetitions:~/ethica @echo --- .PHONY: deploy clean