必要はディレクトリが存在しない場合(得にNetBSDの問題)
author諏訪子 <suwako@076.moe>
Wed, 22 May 2024 12:54:09 +0000 (21:54 +0900)
committer諏訪子 <suwako@076.moe>
Wed, 22 May 2024 12:54:09 +0000 (21:54 +0900)
Makefile

index af0dd968085f76c9b54f18740b6ca69f7f54dbbf..23e0140ac2d91115e518a548855501dc1eef141f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -53,7 +53,9 @@ release-openbsd:
        strip release/bin/${NAME}-${VERSION}-openbsd-${UNAME_M}
 
 install:
-       mkdir -p ${DESTDIR}${PREFIX}/bin
+       mkdir -p ${DESTDIR}${PREFIX}/bin\
+               ${DESTDIR}${MANPREFIX}/man1\
+               ${DESTDIR}${PREFIX}/share/applications
        cp -f ${NAME} ${DESTDIR}${PREFIX}/bin
        sed "s/VERSION/${VERSION}/g" < ${NAME}.1 > ${DESTDIR}${MANPREFIX}/man1/${NAME}.1
        cp -f ${NAME}.desktop ${DESTDIR}${PREFIX}/share/applications