From 8dc08c4408c718478820d5125847af391ac76648 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Wed, 11 May 2022 20:34:39 +0200 Subject: [PATCH] :wrench: Make install target more POSIX compliant --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9fa8b986..cc45a093 100644 --- a/Makefile +++ b/Makefile @@ -142,7 +142,10 @@ clean: clean_core install: all translation-install $(info installing ${GWION_PACKAGE} in ${PREFIX}) - @mkdir -p ${DESTDIR}/${PREFIX}/{bin,lib,include,share} + @mkdir -p ${DESTDIR}/${PREFIX}/bin + @mkdir -p ${DESTDIR}/${PREFIX}/lib + @mkdir -p ${DESTDIR}/${PREFIX}/include + @mkdir -p ${DESTDIR}/${PREFIX}/share @install ${PRG} ${DESTDIR}/${PREFIX}/bin @install lib${PRG}.a ${DESTDIR}/${PREFIX}/lib @PREFIX=${PREFIX} sed 's#PREFIX#${PREFIX}#g' scripts/gwion-config > gwion-config -- 2.43.0