summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLouie S <louie@example.com>2023-03-16 21:33:47 -0700
committerLouie S <louie@example.com>2023-05-01 10:03:34 -0700
commite397123c70d2ad564753f8aad1e1ac82276234f0 (patch)
tree4ca13f13dd954f9fd20dd750ad262f9101223f54 /Makefile
parent71bdea9d51faabb54fb0d5e8668dcc1610aa87c1 (diff)
Rewrite in POSIX shell; index entries from the index pages
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 836fe3c..096ceee 100644
--- a/Makefile
+++ b/Makefile
@@ -47,9 +47,11 @@ $(DOCUMENTS_DIR): $(RESOURCES_DIR) $(MANUAL_FILE)
$(INFO_PLIST_FILE): src/Info.plist $(CONTENTS_DIR)
cp src/Info.plist $@
-$(INDEX_FILE): src/index.rb $(DOCUMENTS_DIR)
+$(INDEX_FILE): src/index.sh $(DOCUMENTS_DIR)
rm -f $@
- ruby src/index.rb $(DOCUMENTS_DIR)/*.html | sqlite3 $@
+ src/index.sh $@ $(DOCUMENTS_DIR)/*.html
+ src/index.sh -i $@ $(DOCUMENTS_DIR)/Concept-Index.html
+ src/index.sh -i -c "Function Variable Directive" $@ $(DOCUMENTS_DIR)/Name-Index.html
$(ICON_FILE): src/icon.png $(DOCSET_DIR)
cp src/icon.png $@