store build distro with package

This commit is contained in:
Thomas Hobson 2021-02-19 20:34:30 +13:00
parent 4f3e7a536d
commit e03c7c50f3
No known key found for this signature in database
GPG Key ID: 9F1FD9D87950DB6F
1 changed files with 1 additions and 0 deletions

View File

@ -20,6 +20,7 @@ pkg-info.jq:
echo '.version="${LANG_VERSION}"' >> pkg-info.jq
echo '.author="${LANG_AUTHOR}"' >> pkg-info.jq
echo '.dependencies={}' >> pkg-info.jq
echo '.distro="$(shell grep -oP "^ID=\K\w+" /etc/os-release )"'
$(foreach dep, ${LANG_DEPS}, echo '.dependencies.$(word 1,$(subst =, ,${dep}))="$(word 2,$(subst =, ,${dep}))"' >> pkg-info.jq)
%.asc: %