maint.mk: avoid warnings about missing files
authorJim Meyering <meyering@redhat.com>
Sat, 25 Jul 2009 13:43:11 +0000 (15:43 +0200)
committerJim Meyering <meyering@redhat.com>
Sat, 25 Jul 2009 19:37:19 +0000 (21:37 +0200)
commitef70f5d61674108ba5d0fc1efe02d136d3111ee1
tree2c8a4ea4e2e794518c6533559cc1bc1f1f1ef1dd
parentc1a8deec087574f403929e58eadaed9015a93afe
maint.mk: avoid warnings about missing files

* top/maint.mk (PREV_VERSION): Suppress stderr, to hide a
diagnostic when .prev-version does not exist.
(_cfg_mk): Define, so it can be empty when cfg.mk does not exist.
(syntax-check-rules): Use $(_cfg_mk) to avoid a diagnostic about
nonexistent cfg.mk.
Suggestions from Simon Josefsson.
ChangeLog
top/maint.mk