From 51b06018c11aff2a053ecfe89c4ef728dac296f9 Mon Sep 17 00:00:00 2001 From: Thomas Hobson Date: Fri, 19 Feb 2021 18:06:07 +1300 Subject: [PATCH] Add signing to common --- packages/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/packages/Makefile b/packages/Makefile index 51218a8..3ef4592 100644 --- a/packages/Makefile +++ b/packages/Makefile @@ -22,7 +22,12 @@ pkg-info.jq: echo '.dependencies={}' >> pkg-info.jq $(foreach dep, ${LANG_DEPS}, echo '.dependencies.$(word 1,$(subst =, ,${dep}))="$(word 2,$(subst =, ,${dep}))"' >> pkg-info.jq) +%.asc: % + gpg --detach-sig --armor --output $@ $< + .PHONY: clean clean: rm -rf $(filter-out Makefile, $(wildcard *)) - \ No newline at end of file + +.PHONY: sign +sign: ${LANG_NAME}-${LANG_VERSION}.pkg.tar.gz.asc \ No newline at end of file