blob: 3c9f1ea438c227e8afcea0d0da114fb01dbe2c42 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001fix shared-mime-info build race condition
2
3The definition of install-data-hook in Makefile.am leads
4to multiple, overlapping, executions of install-binPROGRAMS
5target. We modify the definition to avoid that.
6
7Upstream-Status: Pending
8
9Signed-off-by: Joe Slater <jslater@windriver.com>
10
11--- a/Makefile.am
12+++ b/Makefile.am
13@@ -44,7 +44,9 @@ $(pkgconfig_DATA): config.status
14 @INTLTOOL_XML_RULE@
15 @INTLTOOL_DESKTOP_RULE@
16
17-install-data-hook: install-binPROGRAMS
18+# do NOT make this dependent on anything!
19+#
20+install-data-hook:
21 if ENABLE_UPDATE_MIMEDB
22 $(DESTDIR)"$(bindir)/update-mime-database" -V "$(DESTDIR)$(datadir)/mime"
23 endif