summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLouie S <louie@example.com>2023-06-09 16:50:33 -0700
committerLouie Shprung <lshprung@scu.edu>2023-06-10 12:04:34 -0700
commit0779d60460d99f8f950fd97bcef897ba6cbf1b8a (patch)
treefc923bca398566dec0b49bcc099bfcda97132c21 /Makefile
parenta4784bbacc356d381ff833e1c181b75c30f776c6 (diff)
Download and package (or disable) CSS as part of docsetlocal-css
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 14031d1..47209a1 100644
--- a/Makefile
+++ b/Makefile
@@ -74,6 +74,11 @@ $(INFO_PLIST_FILE): src/Info.plist $(CONTENTS_DIR)
$(INDEX_FILE): src/index-pages.sh $(DOCUMENTS_DIR)
rm -f $@
src/index-pages.sh $@ $(DOCUMENTS_DIR)/*.html
+ifndef NO_CSS
+ src/set-stylesheet.sh "yes" $(DOCUMENTS_DIR)/*.html
+else
+ src/set-stylesheet.sh "no" $(DOCUMENTS_DIR)/*.html
+endif
src/index-terms.sh "Entry" $@ $(DOCUMENTS_DIR)/Concept-Index.html
src/index-terms.sh "Directive" $@ $(DOCUMENTS_DIR)/Name-Index.html