Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | When building with a separate build directory, make install fails, |
| 2 | unable to find the gnome_data files. This patch corrects the |
| 3 | patch and ensures the build works in this case. |
| 4 | |
| 5 | RP 2013/3/8 |
| 6 | |
| 7 | Upstream-Status: Pending |
| 8 | |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 9 | Index: git/Makefile.in |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 10 | =================================================================== |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 11 | --- git.orig/Makefile.in |
| 12 | +++ git/Makefile.in |
| 13 | @@ -1117,7 +1117,7 @@ install-example: $(example_DOCS) |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 14 | install-gnome-data: $(gnome_data) |
| 15 | $(mkinstalldirs) "$(DESTDIR)$(pkgdatadir)" |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 16 | for p in $(gnome_data); do \ |
| 17 | - $(INSTALL_DATA) "$$p" "$(DESTDIR)$(pkgdatadir)" || exit 1; \ |
| 18 | + $(INSTALL_DATA) "$(srcdir)/$$p" "$(DESTDIR)$(pkgdatadir)" || exit 1; \ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 19 | done |
| 20 | |
| 21 | install-conf: $(conf_files) $(default_files) |