summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLouie Shprung <lshprung@scu.edu>2022-12-16 18:11:28 -0800
committerLouie Shprung <lshprung@scu.edu>2022-12-16 18:11:28 -0800
commit92aa328472ba76197a6036628e6796f4b9ffeed0 (patch)
treef6749ada271f8899ec2f4cc4adec4687a5dbaaf5
parent5254ccddad4183e84689ce96d889b23d001475b3 (diff)
Set index when building plist file
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 554db64..548821c 100644
--- a/Makefile
+++ b/Makefile
@@ -53,7 +53,11 @@ endif
cp -r $(MANUAL_SOURCE)/images $@
$(INFO_PLIST_FILE): src/Info.plist $(CONTENTS_DIR)
- cp src/Info.plist $@
+ head -n -2 src/Info.plist > $@
+ echo " <key>dashIndexFilePath</key>" >> $@
+ echo " <string>index.$(LOCALE).html</string>" >> $@
+ echo "</dict>" >> $@
+ echo "</plist>" >> $@
$(INDEX_FILE): src/index.sh $(DOCUMENTS_DIR)
rm -f $@