[gtranslator/gtk3] Remove call to update-desktop-database. Fixes bug #628726.
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtranslator/gtk3] Remove call to update-desktop-database. Fixes bug #628726.
- Date: Sat, 6 Nov 2010 11:36:54 +0000 (UTC)
commit e4ecdf31c9f53ea95fe803b5d25a892c5e72279d
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Sat Nov 6 12:36:18 2010 +0100
Remove call to update-desktop-database. Fixes bug #628726.
data/desktop/Makefile.am | 32 ++++++--------------------------
1 files changed, 6 insertions(+), 26 deletions(-)
---
diff --git a/data/desktop/Makefile.am b/data/desktop/Makefile.am
index 313cb9f..3812f9a 100644
--- a/data/desktop/Makefile.am
+++ b/data/desktop/Makefile.am
@@ -1,34 +1,14 @@
SUBDIRS = icons
-##
-## the dirs where all the DATA should go ..
-##
-Applicationdir = $(datadir)/applications
-
-##
-## and the DATA
-##
-Application_predata = gtranslator.desktop.in
-Application_DATA = $(Application_predata:.desktop.in=.desktop)
-
+desktopdir = $(datadir)/applications
+desktop_in_files = gtranslator.desktop.in
+desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
@INTLTOOL_DESKTOP_RULE@
-EXTRA_DIST = $(Application_DATA) \
- $(Applicationicon_DATA) \
- $(Application_predata)
-
-CLEANFILES = $(Application_DATA)
+EXTRA_DIST = $(desktop_in_files)
-UPDATE_DESKTOP = \
- if [ -f $(Applicationdir)/defaults.list ] ; then \
- if which update-desktop-database>/dev/null 2>&1 ; then \
- update-desktop-database $(Applicationdir); \
- fi \
- fi
+CLEANFILES = $(desktop_DATA)
-install-data-hook:
- $(UPDATE_DESKTOP)
+DISTCLEANFILES = $(desktop_DATA)
-uninstall-hook:
- $(UPDATE_DESKTOP)
-include $(top_srcdir)/git.mk
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]