summaryrefslogtreecommitdiff
path: root/os
diff options
context:
space:
mode:
Diffstat (limited to 'os')
-rw-r--r--os/debian/docs1
-rw-r--r--os/windows/installer/install.nsi12
2 files changed, 12 insertions, 1 deletions
diff --git a/os/debian/docs b/os/debian/docs
index 53fb4057b..e51360c63 100644
--- a/os/debian/docs
+++ b/os/debian/docs
@@ -1,3 +1,2 @@
readme.txt
-docs/Manual.txt
docs/multiplayer.txt
diff --git a/os/windows/installer/install.nsi b/os/windows/installer/install.nsi
index eb51bc41a..5c05cc3f8 100644
--- a/os/windows/installer/install.nsi
+++ b/os/windows/installer/install.nsi
@@ -131,6 +131,14 @@ Section "!OpenTTD" Section1
SetOutPath "$INSTDIR\scripts\"
File ${PATH_ROOT}bin\scripts\*.*
+ ; Copy some documention files
+ SetOutPath "$INSTDIR\docs\"
+ File ${PATH_ROOT}docs\obg_format.txt
+ File ${PATH_ROOT}docs\obm_format.txt
+ File ${PATH_ROOT}docs\obs_format.txt
+ File ${PATH_ROOT}docs\multiplayer.txt
+ File ${PATH_ROOT}docs\32bpp.txt
+
; Copy the rest of the stuff
SetOutPath "$INSTDIR\"
@@ -401,6 +409,9 @@ Section "Uninstall"
; Scripts
Delete "$INSTDIR\scripts\*.*"
+ ; Documentation
+ Delete "$INSTDIR\docs\*.*"
+
; Base sets for music
Delete "$INSTDIR\gm\orig_win.obm"
Delete "$INSTDIR\gm\no_music.obm"
@@ -413,6 +424,7 @@ Section "Uninstall"
RMDir "$INSTDIR\gm"
RMDir "$INSTDIR\lang"
RMDir "$INSTDIR\scripts"
+ RMDir "$INSTDIR\docs"
RMDir "$INSTDIR"
SectionEnd