blob: 5028fd6bf1e782a74666b20ecda4e8f25ab66383 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001Use relative symlink for link rather than absolute path which
2doesn't work well in DESTDIR setting.
3
4Also fix out of tree builds to use correct srcdir.
5
6Upstream-Status: Pending
7
8RP 2013/3/8
9
10Index: xcursor-transparent-theme-0.1.1/cursors/Makefile.am
11===================================================================
12--- xcursor-transparent-theme-0.1.1.orig/cursors/Makefile.am 2013-03-07 22:25:03.933435307 +0000
13+++ xcursor-transparent-theme-0.1.1/cursors/Makefile.am 2013-03-07 22:25:27.293434755 +0000
14@@ -88,9 +88,9 @@
15
16 install-data-local:
17 $(mkinstalldirs) $(DESTDIR)$(CURSOR_DIR);
18- $(INSTALL_DATA) $(CURSOR_REAL) $(DESTDIR)$(CURSOR_DIR)/
19+ $(INSTALL_DATA) $(srcdir)/$(CURSOR_REAL) $(DESTDIR)$(CURSOR_DIR)/
20 for CURSOR in $(CURSOR_NAMES); do \
21 echo '-- Installing cursor '$$CURSOR; \
22- ln -s $(DESTDIR)$(CURSOR_DIR)/transp $(DESTDIR)$(CURSOR_DIR)/$$CURSOR; \
23+ ln -s transp $(DESTDIR)$(CURSOR_DIR)/$$CURSOR; \
24 done
25