maint.mk: factor the validation of RELEASE_TYPE
authorAkim Demaille <akim@lrde.epita.fr>
Fri, 21 Sep 2012 12:11:18 +0000 (14:11 +0200)
committerAkim Demaille <akim@lrde.epita.fr>
Tue, 25 Sep 2012 09:50:52 +0000 (11:50 +0200)
commitaca9380111bb5df9f12b1aa38b6c202f97df6ac7
treedbdc836bd738c02c162f64582aac76e770f798ec
parenta294088ce06e24f13c66a53966fc745709af1d20
maint.mk: factor the validation of RELEASE_TYPE

With help from Jim Meyering.
http://lists.gnu.org/archive/html/bug-gnulib/2012-09/msg00132.html

* top/maint.mk (_empty, _sp): Move their definition earlier.
(member-check, release-type): New.
Use the latter instead of $(RELEASE_TYPE).
Remove now useless local checks.
ChangeLog
top/maint.mk