aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2024-05-10 15:12:00 +0100
committerArun Isaac2024-05-10 15:14:26 +0100
commit74b4bb4cb3b229cab586d74493e07e9b28d4a5c4 (patch)
tree5205a3c05640f7e47b0e15342a2896d7d2f7e207
parent62610a33c5e34a7e8fcafd40a7a74e3bf15294da (diff)
downloadguile-xapian-74b4bb4cb3b229cab586d74493e07e9b28d4a5c4.tar.gz
guile-xapian-74b4bb4cb3b229cab586d74493e07e9b28d4a5c4.tar.lz
guile-xapian-74b4bb4cb3b229cab586d74493e07e9b28d4a5c4.zip
Makefile: Add tarball signing rule.
* Makefile.am (GPG): New variable. (%.asc): New rule.
-rw-r--r--Makefile.am7
1 files changed, 6 insertions, 1 deletions
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 <arunisaac@systemreboot.net>
+# Copyright © 2020–2024 Arun Isaac <arunisaac@systemreboot.net>
# Copyright © 2022 Bob131 <bob@bob131.so>
#
# This file is part of guile-xapian.
@@ -18,6 +18,8 @@
# along with guile-xapian. If not, see
# <https://www.gnu.org/licenses/>.
+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