blob: 7580b5584bc93b09144bb68717f30390dafd61d1 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001When building with a separate build directory, make install fails,
2unable to find the gnome_data files. This patch corrects the
3patch and ensures the build works in this case.
4
5RP 2013/3/8
6
7Upstream-Status: Pending
8
Patrick Williamsc0f7c042017-02-23 20:41:17 -06009Index: git/Makefile.in
Patrick Williamsc124f4f2015-09-15 14:41:29 -050010===================================================================
Patrick Williamsc0f7c042017-02-23 20:41:17 -060011--- git.orig/Makefile.in
12+++ git/Makefile.in
13@@ -1117,7 +1117,7 @@ install-example: $(example_DOCS)
Patrick Williamsc124f4f2015-09-15 14:41:29 -050014 install-gnome-data: $(gnome_data)
15 $(mkinstalldirs) "$(DESTDIR)$(pkgdatadir)"
Patrick Williamsc0f7c042017-02-23 20:41:17 -060016 for p in $(gnome_data); do \
17- $(INSTALL_DATA) "$$p" "$(DESTDIR)$(pkgdatadir)" || exit 1; \
18+ $(INSTALL_DATA) "$(srcdir)/$$p" "$(DESTDIR)$(pkgdatadir)" || exit 1; \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050019 done
20
21 install-conf: $(conf_files) $(default_files)