このコミットが含まれているのは:
守矢諏訪子 2024-05-25 17:45:15 +09:00
コミット 8084424b16

ファイルの表示

@ -38,32 +38,32 @@ dist: clean
mkdir -p release/src ${NAME}-${VERSION} mkdir -p release/src ${NAME}-${VERSION}
cp -R LICENSE.txt Makefile README.md CHANGELOG.md \ cp -R LICENSE.txt Makefile README.md CHANGELOG.md \
${NAME}-completion.zsh ${NAME}.1 main.c src ${NAME}-${VERSION} ${NAME}-completion.zsh ${NAME}.1 main.c src ${NAME}-${VERSION}
tar zcfv dist/${NAME}-${VERSION}.tar.gz ${NAME}-${VERSION} tar zcfv release/src/${NAME}-${VERSION}.tar.gz ${NAME}-${VERSION}
rm -rf ${NAME}-${VERSION} rm -rf ${NAME}-${VERSION}
release-openbsd: release-openbsd:
mkdir -p release/bin mkdir -p release/bin
${CC} ${CFLAGS} -o release/${NAME}-${VERSION}-openbsd-${UNAME_M} ${FILES} \ ${CC} ${CFLAGS} -o release/bin/${NAME}-${VERSION}-openbsd-${UNAME_M} ${FILES} \
-static -lgpgme -lcrypto -lc -lassuan -lgpg-error -lintl -liconv -static -lgpgme -lcrypto -lc -lassuan -lgpg-error -lintl -liconv
strip release/${NAME}-${VERSION}-openbsd-${UNAME_M} strip release/bin/${NAME}-${VERSION}-openbsd-${UNAME_M}
release-freebsd: release-freebsd:
mkdir -p release/bin mkdir -p release/bin
${CC} ${CFLAGS} -o release/${NAME}-${VERSION}-freebsd-${UNAME_M} ${FILES} \ ${CC} ${CFLAGS} -o release/bin/${NAME}-${VERSION}-freebsd-${UNAME_M} ${FILES} \
-static -lgpgme -lcrypto -lc -lassuan -lgpg-error -lthr -lintl -static -lgpgme -lcrypto -lc -lassuan -lgpg-error -lthr -lintl
strip release/${NAME}-${VERSION}-freebsd-${UNAME_M} strip release/bin/${NAME}-${VERSION}-freebsd-${UNAME_M}
release-netbsd: release-netbsd:
mkdir -p release/bin mkdir -p release/bin
${CC} ${CFLAGS} -o release/${NAME}-${VERSION}-netbsd-${UNAME_M} ${FILES} \ ${CC} ${CFLAGS} -o release/bin/${NAME}-${VERSION}-netbsd-${UNAME_M} ${FILES} \
-static -lgpgme -lcrypto -lcrypt -lc -lassuan -lgpg-error -lintl -static -lgpgme -lcrypto -lcrypt -lc -lassuan -lgpg-error -lintl
strip release/${NAME}-${VERSION}-netbsd-${UNAME_M} strip release/bin/${NAME}-${VERSION}-netbsd-${UNAME_M}
release-linux: release-linux:
mkdir -p release/bin mkdir -p release/bin
${CC} ${CFLAGS} -o release/${NAME}-${VERSION}-linux-${UNAME_M} ${FILES} \ ${CC} ${CFLAGS} -o release/bin/${NAME}-${VERSION}-linux-${UNAME_M} ${FILES} \
-static -lgpgme -lcrypto -lc -lassuan -lgpg-error -static -lgpgme -lcrypto -lc -lassuan -lgpg-error
strip release/${NAME}-${VERSION}-linux-${UNAME_M} strip release/bin/${NAME}-${VERSION}-linux-${UNAME_M}
install: all install: all
mkdir -p ${DESTDIR}${PREFIX}/bin mkdir -p ${DESTDIR}${PREFIX}/bin