build: release.mk: deal with trailing whitespace-to-comment-delimiter

... that is preserved by design, see:
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/make.html#tag_20_76_13_05

> string1 = [string2]
> [...]
> where string2 is defined as all characters, if any, after the
> <equals-sign>, up to a comment character ( '#' ) or an unescaped
> <newline>. Any <blank> characters immediately before or after the
> <equals-sign> shall be ignored.

Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
This commit is contained in:
Jan Pokorný 2017-12-14 16:17:33 +01:00
parent aa95eb5fa2
commit 8a24f99b53
No known key found for this signature in database
GPG Key ID: 61BBB23A9E8F8DE2

View File

@ -74,7 +74,7 @@ endif
# NOTE: cannot sign multiple files at once
$(project)-$(version).%.asc: $(project)-$(version).%
gpg --default-key "$(gpgsignkey)" \
gpg --default-key "$(strip $(gpgsignkey))" \
--detach-sign \
--armor \
$<