From: Jérémie Astor Date: Wed, 11 May 2022 18:34:39 +0000 (+0200) Subject: :wrench: Make install target more POSIX compliant X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=8dc08c4408c718478820d5125847af391ac76648;p=gwion.git :wrench: Make install target more POSIX compliant --- 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