blob: c8da9d51c3672d7dad41f9dd914d1de484dad2c0 [file] [log] [blame]
Brad Bishop00e122a2019-10-05 11:10:57 -04001Upstream-Status: Backport [https://github.com/distcc/distcc/pull/363]
2Signed-off-by: Ross Burton <ross.burton@intel.com>
Patrick Williamsc124f4f2015-09-15 14:41:29 -05003
Brad Bishop00e122a2019-10-05 11:10:57 -04004From 469628ee8dc90c7162d1a850c0b179b7349f9cf3 Mon Sep 17 00:00:00 2001
5From: Ross Burton <ross.burton@intel.com>
6Date: Tue, 17 Sep 2019 13:04:22 +0100
7Subject: [PATCH] Makefile.in: fix out-of-tree builds when the GNOME UI is
8 enabled
Patrick Williamsc124f4f2015-09-15 14:41:29 -05009
Brad Bishop00e122a2019-10-05 11:10:57 -040010The install command doesn't use $(srcdir) so out-of-tree builds fail.
Patrick Williamsc124f4f2015-09-15 14:41:29 -050011
Brad Bishop00e122a2019-10-05 11:10:57 -040012Signed-off-by: Ross Burton <ross.burton@intel.com>
13---
14 Makefile.in | 4 ++--
15 1 file changed, 2 insertions(+), 2 deletions(-)
16
17diff --git a/Makefile.in b/Makefile.in
18index 123054f..b9ce974 100644
19--- a/Makefile.in
20+++ b/Makefile.in
21@@ -1130,8 +1130,8 @@ install-example: $(example_DOCS)
Patrick Williamsc124f4f2015-09-15 14:41:29 -050022 install-gnome-data: $(gnome_data)
Brad Bishop00e122a2019-10-05 11:10:57 -040023 $(mkinstalldirs) "$(DESTDIR)$(icondir)"
24 $(mkinstalldirs) "$(DESTDIR)$(desktopdir)"
25- $(INSTALL_DATA) gnome/distccmon-gnome.png "$(DESTDIR)$(icondir)"
26- $(INSTALL_DATA) gnome/distccmon-gnome.desktop "$(DESTDIR)$(desktopdir)"
27+ $(INSTALL_DATA) $(srcdir)/gnome/distccmon-gnome.png "$(DESTDIR)$(icondir)"
28+ $(INSTALL_DATA) $(srcdir)/gnome/distccmon-gnome.desktop "$(DESTDIR)$(desktopdir)"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050029
30 install-conf: $(conf_files) $(default_files)
Brad Bishop00e122a2019-10-05 11:10:57 -040031 $(mkinstalldirs) "$(DESTDIR)$(sysconfdir)/distcc"
32--
332.20.1