From 386bac67925427308a1be1f81cca311c6b29b236 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E8=AB=8F=E8=A8=AA=E5=AD=90?= Date: Tue, 16 Apr 2024 12:30:37 +0900 Subject: [PATCH] =?utf8?q?Linux=E5=90=91=E3=81=91=E3=81=AE=E3=83=AA?= =?utf8?q?=E3=83=AA=E3=83=BC=E3=82=B9=E3=82=B3=E3=83=9E=E3=83=B3=E3=83=89?= =?utf8?q?=E3=81=AE=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 1 + Makefile | 4 ++++ 2 files changed, 5 insertions(+) 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 -- 2.43.0