[banshee] Don't run cache update tools in distcheck
- From: Aaron Bockover <abock src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee] Don't run cache update tools in distcheck
- Date: Thu, 8 Jul 2010 01:26:04 +0000 (UTC)
commit c1fd1a898dd39402ada5faaa1cc641d2e8d354f3
Author: Aaron Bockover <abockover novell com>
Date: Wed Jul 7 21:24:48 2010 -0400
Don't run cache update tools in distcheck
data/desktop-files/Makefile.am | 2 +-
src/Extensions/Banshee.AmazonMp3/Makefile.am | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/data/desktop-files/Makefile.am b/data/desktop-files/Makefile.am
index 9018d29..af5a04c 100644
--- a/data/desktop-files/Makefile.am
+++ b/data/desktop-files/Makefile.am
@@ -17,7 +17,7 @@ endif
@INTLTOOL_DESKTOP_RULE@
install-data-hook:
- update-desktop-database $(DESTDIR)$(datadir)/applications || :
+ test "$(top_srcdir)" = "$(top_builddir)" && update-desktop-database $(DESTDIR)$(datadir)/applications || :
EXTRA_DIST = \
$(desktop_in_files) \
diff --git a/src/Extensions/Banshee.AmazonMp3/Makefile.am b/src/Extensions/Banshee.AmazonMp3/Makefile.am
index 826bfff..3051f9b 100644
--- a/src/Extensions/Banshee.AmazonMp3/Makefile.am
+++ b/src/Extensions/Banshee.AmazonMp3/Makefile.am
@@ -23,7 +23,7 @@ bamz: bamz.in
@echo ' GEN $@'; sed 's,@bansheedir@,$(pkglibdir),g' < $< > $@
define EXTRA_INSTALL_DATA_HOOK
- update-mime-database $(DESTDIR)$(datadir)/mime || :
+ test "$(top_srcdir)" = "$(top_builddir)" && update-mime-database -V $(DESTDIR)$(datadir)/mime || :
endef
include $(top_srcdir)/build/build.mk
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]