summaryrefslogtreecommitdiffhomepage
path: root/subr
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de>2017-11-21 19:45:43 +0000
committerLucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de>2017-11-21 19:45:43 +0000
commita70bc32cd0ab4f8af0c4aae351702fcbbe377f3e (patch)
tree7b146b7f01401874cace02cd61ec7019e2a49de4 /subr
parent27e148b95992167a93a8c828c012e6bb42ca4ef3 (diff)
downloadmidipix_build-a70bc32cd0ab4f8af0c4aae351702fcbbe377f3e.tar.bz2
midipix_build-a70bc32cd0ab4f8af0c4aae351702fcbbe377f3e.tar.xz
vars/libfirm.vars: correctly install to & reference ${PKG_DESTDIR}.
subr/pkg_install_subdirs.subr: fix ${PKG_DESTDIR} reference.
Diffstat (limited to 'subr')
-rw-r--r--subr/pkg_install_subdirs.subr17
1 files changed, 8 insertions, 9 deletions
diff --git a/subr/pkg_install_subdirs.subr b/subr/pkg_install_subdirs.subr
index c63eda70..9ab301b6 100644
--- a/subr/pkg_install_subdirs.subr
+++ b/subr/pkg_install_subdirs.subr
@@ -3,15 +3,14 @@
#
pkg_install_subdirs() {
- pkg_install_files "${PWD}/.." \
- /=destdir \
- /=destdir/bin \
- /=destdir/lib \
- /=destdir/sbin \
- /=destdir/share/man/man1 \
- /=destdir/share/man \
- @.=destdir/usr \
- @share/man=destdir/man;
+ pkg_install_files "${PKG_DESTDIR}" \
+ /=bin \
+ /=lib \
+ /=sbin \
+ /=share/man/man1 \
+ /=share/man \
+ @.=usr \
+ @share/man=man;
};
# vim:filetype=sh