summaryrefslogtreecommitdiff
path: root/os
diff options
context:
space:
mode:
authorzuu <zuu@openttd.org>2013-01-06 16:44:15 +0000
committerzuu <zuu@openttd.org>2013-01-06 16:44:15 +0000
commit2e4f470f1a7fb4b0e6b969c8c58caca05efb9607 (patch)
treed8a797153721bf115d71ec9675ca0c8c508fbbcc /os
parent65ff2c1ce645191f8d49a851d04f14ab133b665a (diff)
downloadopenttd-2e4f470f1a7fb4b0e6b969c8c58caca05efb9607.tar.xz
(svn r24890) -Fix: Distribute GS compat_<version>.nut with OpenTTD
Diffstat (limited to 'os')
-rw-r--r--os/rpm/openttd.spec2
-rw-r--r--os/windows/installer/install.nsi8
2 files changed, 10 insertions, 0 deletions
diff --git a/os/rpm/openttd.spec b/os/rpm/openttd.spec
index d35501110..7eaf553a7 100644
--- a/os/rpm/openttd.spec
+++ b/os/rpm/openttd.spec
@@ -227,11 +227,13 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%dir %{_datadir}/%{name}/baseset
%dir %{_datadir}/%{name}/scripts
%dir %{_datadir}/%{name}/ai
+%dir %{_datadir}/%{name}/game
%{_datadir}/doc/%{name}/*
%{_datadir}/%{name}/lang/*
%{_datadir}/%{name}/baseset/*
%{_datadir}/%{name}/scripts/*
%{_datadir}/%{name}/ai/*
+%{_datadir}/%{name}/game/*
%doc %{_mandir}/man6/%{name}.6.*
%files gui
diff --git a/os/windows/installer/install.nsi b/os/windows/installer/install.nsi
index 6fef11d2e..28fa0852d 100644
--- a/os/windows/installer/install.nsi
+++ b/os/windows/installer/install.nsi
@@ -124,6 +124,10 @@ Section "!OpenTTD" Section1
SetOutPath "$INSTDIR\ai\"
File ${PATH_ROOT}bin\ai\compat_*.nut
+ ; Copy Game Script files
+ SetOutPath "$INSTDIR\game\"
+ File ${PATH_ROOT}bin\game\compat_*.nut
+
; Copy data files
SetOutPath "$INSTDIR\baseset\"
File ${PATH_ROOT}bin\baseset\*.grf
@@ -398,6 +402,9 @@ Section "Uninstall"
; AI files
Delete "$INSTDIR\ai\compat_*.nut"
+ ; Game Script files
+ Delete "$INSTDIR\game\compat_*.nut"
+
; Baseset files
Delete "$INSTDIR\baseset\opntitle.dat"
Delete "$INSTDIR\baseset\openttd.grf"
@@ -469,6 +476,7 @@ Section "Uninstall"
RMDir "$SMPROGRAMS\$SHORTCUTS\Docs\"
RMDir "$SMPROGRAMS\$SHORTCUTS"
RMDir "$INSTDIR\ai"
+ RMDir "$INSTDIR\game"
RMDir "$INSTDIR\data"
RMDir "$INSTDIR\baseset"
RMDir "$INSTDIR\gm"