diff options
author | Louie Shprung <lshprung@scu.edu> | 2022-12-16 18:11:28 -0800 |
---|---|---|
committer | Louie Shprung <lshprung@scu.edu> | 2022-12-16 18:11:28 -0800 |
commit | 92aa328472ba76197a6036628e6796f4b9ffeed0 (patch) | |
tree | f6749ada271f8899ec2f4cc4adec4687a5dbaaf5 /Makefile | |
parent | 5254ccddad4183e84689ce96d889b23d001475b3 (diff) |
Set index when building plist file
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 $@ |