- CMake, print message to run 'make install', this is new and should help avoid confu...
authorCampbell Barton <ideasman42@gmail.com>
Wed, 9 Mar 2011 21:19:15 +0000 (21:19 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Wed, 9 Mar 2011 21:19:15 +0000 (21:19 +0000)
- remove extension from icon to match spec: http://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.htm

release/freedesktop/blender.desktop
source/creator/CMakeLists.txt

index ba503f2f62ef734d7eea7a66ad46a31351ff9bbf..34b2b9bb0af03a2c38e2586945a1683eb73b3e39 100644 (file)
@@ -8,7 +8,7 @@ GenericName[ru]=Редактор 3D-моделей
 Comment=3D modeling, animation, rendering and post-production
 Comment[es]=modelado 3D, animación, renderizado y post-producción
 Exec=blender
-Icon=blender.svg
+Icon=blender
 Terminal=false
 Type=Application
 Categories=Graphics;3DGraphics;
index 7e00b554c6ce81f5865e882cca7ac964dd0e450c..101da571ad64c40b2cab394c11854bfe615e316c 100644 (file)
@@ -208,6 +208,12 @@ if(WITH_INSTALL)
                        "file(REMOVE_RECURSE ${TARGETDIR_VER})"
                )
 
+               # message after building.
+               add_custom_command(
+                       TARGET blender POST_BUILD MAIN_DEPENDENCY blender
+                       COMMAND ${CMAKE_COMMAND} -E echo 'now run: \"make install\" to copy runtime files & scripts to ${TARGETDIR_VER}'
+               )
+
                # there are a few differences between portable and system install
                if(WITH_INSTALL_PORTABLE)
                        install(