aboutsummaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorTobias Arrskog <topfs2@xbmc.org>2014-10-26 07:23:57 +0100
committerTobias Arrskog <topfs2@xbmc.org>2014-10-26 07:23:57 +0100
commit204a7a3f6cf71911a01ffef46c45011091dceb37 (patch)
treee1634932a984464ba5ebef896a98b8d15895f573 /Makefile.in
parentea81a856ec372ee8adfeb740bc3831bd043a7f7f (diff)
parent392561099c4801ba17c83e85ea00d6d05c631fdf (diff)
Merge pull request #5567 from wsnipex/legacy
[buildsystem] posix: add legacy xbmc links for libdir, includedir and da...
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in9
1 files changed, 6 insertions, 3 deletions
diff --git a/Makefile.in b/Makefile.in
index 700589b518..bd28e52ff2 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -563,6 +563,7 @@ apk-clean apk-sign:
install-binaries: install-scripts
@echo "Copying @APP_NAME_LC@ binary to $(DESTDIR)$(libdir)/@APP_NAME_LC@/"
@install -d $(DESTDIR)$(libdir)/@APP_NAME_LC@
+ @cd $(DESTDIR)$(libdir); [ -L xbmc ] || [ -d xbmc ] || ln -s @APP_NAME_LC@ xbmc
ifeq (1,@USE_XRANDR@)
@install @APP_NAME_LC@-xrandr $(DESTDIR)$(libdir)/@APP_NAME_LC@/@APP_NAME_LC@-xrandr
endif
@@ -602,14 +603,15 @@ endif
install-scripts:
@install -d $(DESTDIR)$(bindir)
@install tools/Linux/@APP_NAME_LC@.sh $(DESTDIR)$(bindir)/@APP_NAME_LC@
- @cd $(DESTDIR)$(bindir); [ -L xbmc ] || ln -s @APP_NAME_LC@ xbmc
+ @cd $(DESTDIR)$(bindir); [ -L xbmc ] || [ -f xbmc ] || ln -s @APP_NAME_LC@ xbmc
@install tools/Linux/@APP_NAME_LC@-standalone.sh $(DESTDIR)$(bindir)/@APP_NAME_LC@-standalone
- @cd $(DESTDIR)$(bindir); [ -L xbmc-standalone ] || ln -s @APP_NAME_LC@-standalone xbmc-standalone
+ @cd $(DESTDIR)$(bindir); [ -L xbmc-standalone ] || [ -f xbmc-standalone ] || ln -s @APP_NAME_LC@-standalone xbmc-standalone
@install -d $(DESTDIR)$(datarootdir)/@APP_NAME_LC@
+ @cd $(DESTDIR)$(datarootdir); [ -L xbmc ] || [ -d xbmc ] || ln -s @APP_NAME_LC@ xbmc
@install -m 0644 tools/Linux/FEH.py $(DESTDIR)$(datarootdir)/@APP_NAME_LC@/FEH.py
@install -d $(DESTDIR)$(datarootdir)/xsessions
@install -m 0644 tools/Linux/@APP_NAME_LC@-xsession.desktop $(DESTDIR)$(datarootdir)/xsessions/@APP_NAME_LC@.desktop
- @cd $(DESTDIR)$(datarootdir)/xsessions; [ -L xbmc.desktop ] || ln -s @APP_NAME_LC@.desktop xbmc.desktop
+ @cd $(DESTDIR)$(datarootdir)/xsessions; [ -L xbmc.desktop ] || [ -f xbmc.desktop ] || ln -s @APP_NAME_LC@.desktop xbmc.desktop
install-datas: install-scripts
@echo "Copying support and legal files..."
@@ -660,6 +662,7 @@ endif
@for f in project/cmake/scripts/common/*.cmake; do \
install -m 0644 $$f $(DESTDIR)$(libdir)/@APP_NAME_LC@; \
done
+ @cd $(DESTDIR)$(includedir); [ -L xbmc ] || [ -d xbmc ] || ln -s @APP_NAME_LC@ xbmc
uninstall:
@echo "Removing @APP_NAME@..."