]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/blob
5028fd6bf1e782a74666b20ecda4e8f25ab66383
[thirdparty/openembedded/openembedded-core-contrib.git] /
1 Use relative symlink for link rather than absolute path which
2 doesn't work well in DESTDIR setting.
3
4 Also fix out of tree builds to use correct srcdir.
5
6 Upstream-Status: Pending
7
8 RP 2013/3/8
9
10 Index: 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