f-spot r3830 - trunk



Author: sdelcroix
Date: Tue Apr 15 08:58:01 2008
New Revision: 3830
URL: http://svn.gnome.org/viewvc/f-spot?rev=3830&view=rev

Log:
2008-04-15  Stephane Delcroix  <sdelcroix novell com>

	* Makefile.am: running update-desktop-database on make install and 
	uninstall.


Modified:
   trunk/ChangeLog
   trunk/Makefile.am

Modified: trunk/Makefile.am
==============================================================================
--- trunk/Makefile.am	(original)
+++ trunk/Makefile.am	Tue Apr 15 08:58:01 2008
@@ -75,3 +75,16 @@
         $(desktop_files)
 
 DISTCHECK_CONFIGURE_FLAGS = --disable-scrollkeeper
+
+UPDATE_DESKTOP = \
+	if [ -f $(DESTDIR)$(datadir)/applications/defaults.list ] ; then \
+		if which update-desktop-database>/dev/null 2>&1 ; then \
+			update-desktop-database; \
+		fi \
+	fi
+
+install-data-hook: 
+	$(UPDATE_DESKTOP)
+
+uninstall-hook: 
+	$(UPDATE_DESKTOP)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]