commit a9af70958499071dd615626405951c56d45e9901
parent 3ef5fd6ecb2d94b22b33fcf3beae8137fff398dc
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Wed, 23 Feb 2022 15:05:52 +0100
Rename the REMOTE Makefile macro in PREFIX
Diffstat:
9 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/Makefile b/Makefile
@@ -58,8 +58,8 @@ publish: .htaccess
printf "\e[1m>>> %s\e[0m\n" $$subdir; \
make -C $$subdir $@; echo ""; done
@rsync -avzrR --delete-after --progress\
- solstice.html .htaccess fonts meso.css ${REMOTE}
+ solstice.html .htaccess fonts meso.css ${PREFIX}
.htaccess: build_htaccess.sh
@echo "Building $@"
- @sh build_htaccess.sh $$(basename "$(REMOTE)") > $@
+ @sh build_htaccess.sh $$(basename "$(PREFIX)") > $@
diff --git a/art/Makefile b/art/Makefile
@@ -65,7 +65,7 @@ distclean: clean
publish: build
@rsync -avzrR --delete-after --progress \
- $(HTML) $(IMG) $(ART_FILES) $(ART_PKG) $(ART_SIG) $(REMOTE)/art/
+ $(HTML) $(IMG) $(ART_FILES) $(ART_PKG) $(ART_SIG) $(PREFIX)/art/
art_build.sh: ../meso-menu.sh
@touch art_build.sh
diff --git a/config.mk b/config.mk
@@ -16,6 +16,6 @@
# Markdown command to use
MARKDOWN=markdown_py
-# Remote server where to synchronise data
-#REMOTE=OVH:www/projects
-REMOTE=/tmp/local
+# Destination where to synchronise data
+#PREFIX=OVH:www/projects
+PREFIX=/tmp/local
diff --git a/htrdr/Makefile b/htrdr/Makefile
@@ -122,7 +122,7 @@ publish: build
$(ATMSPK_SIG)\
$(COMSPK_PKG)\
$(COMSPK_SIG)\
- $(REMOTE)/htrdr/
+ $(PREFIX)/htrdr/
htrdr_build.sh: ../meso-menu.sh
@touch $@
diff --git a/misc/Makefile b/misc/Makefile
@@ -38,7 +38,7 @@ clean:
distclean: clean
publish: build
- @rsync -avzrR --delete-after --progress $(HTML) $(REMOTE)/misc/
+ @rsync -avzrR --delete-after --progress $(HTML) $(PREFIX)/misc/
misc_build.sh: ../meso-menu.sh
@touch $@
diff --git a/schiff/Makefile b/schiff/Makefile
@@ -61,7 +61,7 @@ publish: build
$$(find man -name "*.html")\
$(SCHIFF_PKG)\
$(SCHIFF_SIG)\
- $(REMOTE)/schiff/
+ $(PREFIX)/schiff/
schiff_build.sh: ../meso-menu.sh
@touch $@
diff --git a/solstice/Makefile b/solstice/Makefile
@@ -102,7 +102,7 @@ publish: build
$(IMG) \
downloads \
$$(find man -name "*.html") \
- $(REMOTE)/solstice/
+ $(PREFIX)/solstice/
solstice_build.sh: ../meso-menu.sh
@touch $@
diff --git a/star-engine/Makefile b/star-engine/Makefile
@@ -121,7 +121,7 @@ publish: build
$(IMG)\
$(STAR_ENGINE_PKG)\
$(STAR_ENGINE_SIG)\
- $(REMOTE)/star-engine/
+ $(PREFIX)/star-engine/
star_engine_build.sh: ../meso-menu.sh
@touch "$@"
diff --git a/stardis/Makefile b/stardis/Makefile
@@ -107,7 +107,7 @@ publish: build
$(STARTER_PACK_IMG)\
downloads\
$$(find man -name "*.html")\
- $(REMOTE)/stardis/
+ $(PREFIX)/stardis/
stardis_build.sh: ../meso-menu.sh
@touch $@