commit edf5b41fbba0e2a2f6bddf365f229f64dbe41eea
parent fc4a5fd91db1fff29c6b04ff73c75f63242f0f80
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Thu, 24 Feb 2022 21:33:42 +0100
Update the generation rule of the .htaccess file
Force the generation of the file each time the install target is
executed.
Diffstat:
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/Makefile b/Makefile
@@ -26,7 +26,7 @@ SCRIPTS=\
convert_man.sh\
meso-menu.sh
-build:
+build:
@for subdir in $(SUBDIRS); do \
printf "\e[1m>>> %s\e[0m\n" $$subdir; \
$(MAKE) -C $${subdir}; echo ""; done
@@ -54,13 +54,13 @@ check:
printf "\e[1m>>> %s\e[0m\n" $$subdir; \
$(MAKE) -C $${subdir} $@; echo ""; done
-install: .htaccess
+install: htaccess
@for subdir in $(SUBDIRS); do \
printf "\e[1m>>> %s\e[0m\n" $$subdir; \
$(MAKE) -C $$subdir $@; echo ""; done
@rsync -avzrR --delete-after --progress\
solstice.html .htaccess fonts meso.css ${PREFIX}
-.htaccess: build_htaccess.sh
+htaccess:
@echo "Building $@"
- @$(SHELL) build_htaccess.sh /$$(basename "$(PREFIX)") > $@
+ @$(SHELL) build_htaccess.sh /$$(basename "$(PREFIX)") > .htaccess