]> Nishi Git Mirror - gwion.git/commitdiff
:wrench: Make install target more POSIX compliant
authorJérémie Astor <fennecdjay@gmail.com>
Wed, 11 May 2022 18:34:39 +0000 (20:34 +0200)
committerJérémie Astor <fennecdjay@gmail.com>
Wed, 11 May 2022 18:35:11 +0000 (20:35 +0200)
Makefile

index 9fa8b9863d870acf8c82daf40f304b02b8076a4a..cc45a093e66e7f89d75bd72ef01985adbcad53d4 100644 (file)
--- 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