Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | fix shared-mime-info build race condition |
| 2 | |
| 3 | The definition of install-data-hook in Makefile.am leads |
| 4 | to multiple, overlapping, executions of install-binPROGRAMS |
| 5 | target. We modify the definition to avoid that. |
| 6 | |
| 7 | Upstream-Status: Pending |
| 8 | |
| 9 | Signed-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 |