Add signing to common

This commit is contained in:
Thomas Hobson 2021-02-19 18:06:07 +13:00
parent 36102f22b4
commit 51b06018c1
No known key found for this signature in database
GPG Key ID: 9F1FD9D87950DB6F
1 changed files with 6 additions and 1 deletions

View File

@ -22,7 +22,12 @@ pkg-info.jq:
echo '.dependencies={}' >> 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) $(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 .PHONY: clean
clean: clean:
rm -rf $(filter-out Makefile, $(wildcard *)) rm -rf $(filter-out Makefile, $(wildcard *))
.PHONY: sign
sign: ${LANG_NAME}-${LANG_VERSION}.pkg.tar.gz.asc