commit: a3e35578740551f78a8fa44b51143865ca16c4a9
Author: William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 27 20:49:21 2021 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Mon Sep 27 20:56:35 2021 +0000
URL: https://gitweb.gentoo.org/proj/baselayout.git/commit/?id=a3e35578
clean up makefile
Signed-off-by: William Hubbs <williamh <AT> gentoo.org>
Makefile | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index aaae44ad..8c6f026f 100644
--- a/Makefile
+++ b/Makefile
@@ -64,10 +64,13 @@ install:
$(INSTALL_DIR) $(DESTDIR)/etc
cp -pPR etc/* etc.$(OS)/* $(DESTDIR)/etc/
echo "Gentoo Base System release ${PV}" > ${DESTDIR}/etc/gentoo-release
+ $(INSTALL_DIR) $(DESTDIR)/lib
+ cp -pPR lib.$(OS)/* $(DESTDIR)/etc/
+ $(INSTALL_DIR) $(DESTDIR)/usr/lib
+ ln -snf ../usr/lib/os-release ${DESTDIR}/etc/os-release
+ ./make_os_release ${OS} ${PV} > $(DESTDIR)/usr/lib/os-release
$(INSTALL_DIR) $(DESTDIR)/usr/share/baselayout
cp -pPR share.$(OS)/* $(DESTDIR)/usr/share/baselayout/
- ./make_os_release $(OS) $(PV) > $(DESTDIR)/usr/lib/os-release
- ln -snf ../usr/lib/os-release ${DESTDIR}/etc/os-release
layout-dirs:
# Create base filesytem layout