diff --git a/CHANGELOG.md b/CHANGELOG.md index 5c8a806..e6880e2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ * GNU Make → BSD Make * GPLv2 → ISC * OpenBSD向けのリリースコマンドの追加 +* Linux向けのリリースコマンドの追加 # 1.2.0 * やっとTOTP機能性を修正した diff --git a/Makefile b/Makefile index 3717ca8..bb9b293 100644 --- a/Makefile +++ b/Makefile @@ -37,6 +37,10 @@ release-openbsd: ${CC} ${CFLAGS} -o ${NAME}-${VERSION}-openbsd-amd64 ${FILES} -static -lgpgme -lcrypto -lc -lassuan -lgpg-error -lintl -liconv strip ${NAME} +release-linux: + ${CC} ${CFLAGS} -o ${NAME}-${VERSION}-linux-amd64 ${FILES} -static -lgpgme -lcrypto -lc -lassuan -lgpg-error + strip ${NAME} + install: all mkdir -p ${DESTDIR}${PREFIX}/bin cp -f ${NAME} ${DESTDIR}${PREFIX}/bin