summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-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 $@