--- a/.hgignore Wed Oct 24 10:18:42 2012 +0100
+++ b/.hgignore Wed Oct 24 10:23:37 2012 +0100
@@ -53,3 +53,6 @@
glob:project_files/Android-build/Makefile.android
glob:hedgewars-build-desktop-Qt_4_7_4_for_Desktop_-_MinGW_4_4__Qt_SDK__Debug
glob:hedgewars-build-desktop-Qt_4_7_4_for_Desktop_-_MinGW_4_4__Qt_SDK__Release
+glob:*.depends
+glob:tools/build_windows_koda.bat
+
--- a/share/hedgewars/Data/misc/CMakeLists.txt Wed Oct 24 10:18:42 2012 +0100
+++ b/share/hedgewars/Data/misc/CMakeLists.txt Wed Oct 24 10:23:37 2012 +0100
@@ -1,9 +1,13 @@
-if(DEFINED DATA_INSTALL_DIR)
- set(HEDGEWARS_DATADIR ${DATA_INSTALL_DIR})
-else()
- set(HEDGEWARS_DATADIR ${CMAKE_INSTALL_PREFIX}/share/)
+if(DEFINED DATA_INSTALL_DIR)
+ set(HEDGEWARS_DATADIR ${DATA_INSTALL_DIR}
+)
+else()
+ set(HEDGEWARS_DATADIR ${CMAKE_INSTALL_PREFIX}/share/)
endif()
+
+if(UNIX AND NOT APPLE)
configure_file(hwengine.desktop.in hwengine.desktop)
+endif()
file(GLOB miscfiles *.xml *.desktop)