From 74b4bb4cb3b229cab586d74493e07e9b28d4a5c4 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Fri, 10 May 2024 15:12:00 +0100 Subject: Makefile: Add tarball signing rule. * Makefile.am (GPG): New variable. (%.asc): New rule. --- Makefile.am | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 5d717ca..625f270 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,5 +1,5 @@ # guile-xapian --- Guile bindings for Xapian -# Copyright © 2020, 2021, 2022, 2023 Arun Isaac +# Copyright © 2020–2024 Arun Isaac # Copyright © 2022 Bob131 # # This file is part of guile-xapian. @@ -18,6 +18,8 @@ # along with guile-xapian. If not, see # . +GPG = gpg + # Prefix variables for silencing various commands. See "(automake) # Automake Silent Rules" for details. @@ -90,6 +92,9 @@ SCM_LOG_DRIVER = \ EXTRA_DIST = $(TESTS) $(SOURCES) except.i xapian.i.in xapian-head.i xapian-headers.i +%.asc: % + $(GPG) --detach-sign --armor $< + # Build website website: website/index.html -- cgit v1.2.3