maint.mk: fix strict vs. lazy variable issues with RELEASE
authorAkim Demaille <akim@lrde.epita.fr>
Tue, 25 Sep 2012 10:19:04 +0000 (12:19 +0200)
committerAkim Demaille <akim@lrde.epita.fr>
Tue, 25 Sep 2012 17:22:01 +0000 (19:22 +0200)
commitcb38ce7db84edb421fbaeea5abe16ebeb8ad8a5c
tree96b182b885a66526c546e7abdd7e616fd4b7db32
parent86647111540a7f2df0021ed43ce596b5c61f14d9
maint.mk: fix strict vs. lazy variable issues with RELEASE

* top/maint.mk (_equal): New function.
(member_check): Strip the result to avoid spurious spaces.
(url_dir_list): Do not use ifeq, which is strict, as it will
require RELEASE_TYPE to be defined.
(announcement_Cc_, announcement_mail_headers_): Likewise: instead
of relying on ifeq, use $(release_type) to dispatch (lazily) onto...
(announcement_Cc_alpha,announcement_mail_headers_alpha)
(announcement_Cc_beta,announcement_mail_headers_beta)
(announcement_Cc_stable,announcement_mail_headers_stable): these.
(release): Do not depend on $(release-type), as it forces its
evaluation.  Bounce to it.
ChangeLog
top/maint.mk