summaryrefslogtreecommitdiff
path: root/config.mk
diff options
context:
space:
mode:
authorLouie S <louie@example.com>2024-06-07 18:01:28 -0400
committerLouie S <louie@example.com>2024-06-07 18:01:28 -0400
commit2f9bf497b2ccb4cb1723cd731624b0652a7b0e93 (patch)
treef37a0dffb595051417fb3be4da4590e6b140363a /config.mk
parent6e478542ac80054c3ebe996613efda05487ce680 (diff)
Change NO_CSS checking behavior
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.mk b/config.mk
index 364dcbe..9af9455 100644
--- a/config.mk
+++ b/config.mk
@@ -13,7 +13,7 @@ $(DOCUMENTS_DIR): $(RESOURCES_DIR) $(MANUAL_FILE)
$(INDEX_FILE): $(wildcard $(SOURCE_DIR)/src/*.sh) $(wildcard $(SCRIPTS_DIR)/*.sh) $(DOCUMENTS_DIR)
rm -f $@
$(SOURCE_DIR)/src/index-pages.sh $@ $(DOCUMENTS_DIR)/*.html
-ifndef NO_CSS
+ifneq ($(NO_CSS),yes)
$(SOURCE_DIR)/src/set-stylesheet.sh "yes" $(DOCUMENTS_DIR)/*.html
else
$(SOURCE_DIR)/src/set-stylesheet.sh "no" $(DOCUMENTS_DIR)/*.html