From 48944f8f4c0ca1f3f7d59ce911a689a7777197ee Mon Sep 17 00:00:00 2001 From: Philipp Gesang Date: Sat, 26 Jul 2014 12:55:24 +0200 Subject: =?UTF-8?q?add=20=E2=80=9Csign=E2=80=9D=20target=20to=20makefile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We’ll be shipping GPG signatures along with releases from now on, mirroring Luaotfload: https://github.com/lualatex/luaotfload/commit/2cd6d7aab3687bbfc43f1fc82da626b8c9395f27 --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Makefile b/Makefile index a50c63d..5e0fd61 100644 --- a/Makefile +++ b/Makefile @@ -34,6 +34,7 @@ DISTDIR = ./lualibs TEXMFROOT = ./texmf CTAN_ZIP = $(NAME).zip +CTAN_ZIPSIG = $(CTAN_ZIP).asc TDS_ZIP = $(NAME).tds.zip ZIPS = $(CTAN_ZIP) $(TDS_ZIP) @@ -46,6 +47,7 @@ all: $(GENERATED) $(DOC_TEX) doc: $(COMPILED) unpack: $(UNPACKED) ctan: check $(CTAN_ZIP) +sign: $(CTAN_ZIPSIG) tds: $(TDS_ZIP) world: all ctan @@ -83,6 +85,11 @@ $(CTAN_ZIP): $(ALL_FILES) $(TDS_ZIP) $(make-ctandir) @zip -r -9 $@ $(DISTDIR) $(TDS_ZIP) >/dev/null +$(CTAN_ZIPSIG): $(CTAN_ZIP) + @echo "Signing package $(CTAN_ZIP)" + @$(RM) -- $@ + @gpg --batch --armor --detach-sign "$(CTAN_ZIP)" + define run-install @mkdir -p $(RUNDIR) && cp $(RUNFILES) $(RUNDIR) @mkdir -p $(DOCDIR) && cp $(DOCFILES) $(DOCDIR) -- cgit v1.2.3