CMake doesn't update .desktop file during install

Andreas Pakulat apaku at gmx.de
Tue Dec 2 20:51:03 CET 2008


Hi,

got a strange error here, cmake refuses to install an updated .desktop file
when doing make install. The file in the sourcedir is definitly newer than
the installed one and also has different content (1 line removed). Even
touching the source file doesn't help:

andreas at barmbek:~/src/build/kdevelop/plugins/qtdesigner>ls -l
/home/andreas/src/kdevelop/plugins/qtdesigner/kdevqtdesigner.desktop
/usr/local/share/kde4/services/kdevqtdesigner.desktop
-rw-r--r-- 1 andreas andreas 4636 2008-12-02 20:46
/home/andreas/src/kdevelop/plugins/qtdesigner/kdevqtdesigner.desktop
-rw-r--r-- 1 andreas staff   4663 2008-11-25 21:49
/usr/local/share/kde4/services/kdevqtdesigner.desktop
andreas at barmbek:~/src/build/kdevelop/plugins/qtdesigner>diff -u
/home/andreas/src/kdevelop/plugins/qtdesigner/kdevqtdesigner.desktop
/usr/local/share/kde4/services/kdevqtdesigner.desktop
--- /home/andreas/src/kdevelop/plugins/qtdesigner/kdevqtdesigner.desktop
2008-12-02 20:46:40.000000000 +0100
+++ /usr/local/share/kde4/services/kdevqtdesigner.desktop       2008-11-25
21:49:14.000000000 +0100
@@ -84,5 +84,6 @@
 X-KDE-PluginInfo-Version=0.1
 X-KDE-PluginInfo-License=GPL
 X-KDevelop-Version=6
+X-KDevelop-Category=Global
 X-KDevelop-SupportedMimeTypes=application/x-designer
 X-KDevelop-Mode=GUI
andreas at barmbek:~/src/build/kdevelop/plugins/qtdesigner>make install
[100%] Built target kdevqtdesigner
Install the project...
-- Install configuration: "Debug"
-- Up-to-date: /usr/local/lib/kde4/kdevqtdesigner.so
-- Up-to-date: /usr/local/share/kde4/services/kdevqtdesigner.desktop
-- Up-to-date: /usr/local/share/apps/kdevqtdesigner/kdevqtdesigner.rc

Andreas

-- 
You shall be rewarded for a dastardly deed.


More information about the Kde-buildsystem mailing list