summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2018-02-07 12:58:07 -0600
committerWilliam Hubbs <williamh@gentoo.org>2018-02-07 13:05:13 -0600
commit9bbb700a3bfeaca7307a154564db00feff201e6e (patch)
treeebcd8c678225e8128df1d1ae2d976e8b9bce70e9
parentDo not install .keep files (diff)
downloadbaselayout-9bbb700a3bfeaca7307a154564db00feff201e6e.tar.gz
baselayout-9bbb700a3bfeaca7307a154564db00feff201e6e.tar.bz2
baselayout-9bbb700a3bfeaca7307a154564db00feff201e6e.zip
Makefile: layout-usrmerge should do nothing on non-Linux systems
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 35bdb627..f1b0344d 100644
--- a/Makefile
+++ b/Makefile
@@ -86,9 +86,11 @@ layout: layout-dirs layout-$(OS)
ln -snf /var/tmp $(DESTDIR)/usr/tmp
layout-usrmerge: layout
+ifeq ($(OS),Linux)
ln -snf usr/bin ${DESTDIR}/bin
ln -snf usr/sbin ${DESTDIR}/sbin
ln -snf bin ${DESTDIR}/usr/sbin
+endif
live:
rm -rf /tmp/$(PKG)