]> Nishi Git Mirror - sp.git/commitdiff
ごめん
author諏訪子 <suwako@076.moe>
Sat, 25 May 2024 08:43:43 +0000 (17:43 +0900)
committer諏訪子 <suwako@076.moe>
Sat, 25 May 2024 08:43:43 +0000 (17:43 +0900)
Makefile

index eef7981b3656a588f5e51427cd3806f99f8e032f..35b104b08baa967e8251d31b724a22f72e6c232a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -35,33 +35,32 @@ clean:
        rm -f ${NAME}
 
 dist: clean
-       mkdir -p dist
-       mkdir -p ${NAME}-${VERSION}
+       mkdir -p release/src ${NAME}-${VERSION}
        cp -R LICENSE.txt Makefile README.md CHANGELOG.md \
                ${NAME}-completion.zsh ${NAME}.1 main.c src ${NAME}-${VERSION}
        tar zcfv dist/${NAME}-${VERSION}.tar.gz ${NAME}-${VERSION}
        rm -rf ${NAME}-${VERSION}
 
 release-openbsd:
-       mkdir -p release
+       mkdir -p release/bin
        ${CC} ${CFLAGS} -o release/${NAME}-${VERSION}-openbsd-${UNAME_M} ${FILES} \
                -static -lgpgme -lcrypto -lc -lassuan -lgpg-error -lintl -liconv
        strip release/${NAME}-${VERSION}-openbsd-${UNAME_M}
 
 release-freebsd:
-       mkdir -p release
+       mkdir -p release/bin
        ${CC} ${CFLAGS} -o release/${NAME}-${VERSION}-freebsd-${UNAME_M} ${FILES} \
                -static -lgpgme -lcrypto -lc -lassuan -lgpg-error -lthr -lintl
        strip release/${NAME}-${VERSION}-freebsd-${UNAME_M}
 
 release-netbsd:
-       mkdir -p release
+       mkdir -p release/bin
        ${CC} ${CFLAGS} -o release/${NAME}-${VERSION}-netbsd-${UNAME_M} ${FILES} \
                -static -lgpgme -lcrypto -lcrypt -lc -lassuan -lgpg-error -lintl
        strip release/${NAME}-${VERSION}-netbsd-${UNAME_M}
 
 release-linux:
-       mkdir -p release
+       mkdir -p release/bin
        ${CC} ${CFLAGS} -o release/${NAME}-${VERSION}-linux-${UNAME_M} ${FILES} \
                -static -lgpgme -lcrypto -lc -lassuan -lgpg-error
        strip release/${NAME}-${VERSION}-linux-${UNAME_M}