tests: don't fail "make syntax-check" on cygwin

* maint.mk (NEWS_hash): Remove trailing " -" or " *-".
* cfg.mk (old_NEWS_hash): Regenerate, removing " -".
Reported by Eric Blake.
This commit is contained in:
Jim Meyering 2009-03-25 22:49:09 +01:00
parent 9b4aa5e268
commit b102ed9ba6
2 changed files with 7 additions and 4 deletions

2
cfg.mk
View File

@ -45,7 +45,7 @@ gnulib_dir = /gnulib
# Now that we have better (check.mk) tests, make this the default.
export VERBOSE = yes
old_NEWS_hash = fa6cba1740b3f385520c1b54d90859ca -
old_NEWS_hash = fa6cba1740b3f385520c1b54d90859ca
# Ensure that the list of O_ symbols used to compute O_FULLBLOCK is complete.
dd = $(srcdir)/src/dd.c

View File

@ -460,9 +460,12 @@ sc_const_long_option:
echo 1>&2 '$(ME): add "const" to the above declarations'; \
exit 1; } || :
NEWS_hash = \
$$(sed -n '/^\*.* $(PREV_VERSION_REGEXP) ([0-9-]*)/,$$p' \
$(srcdir)/NEWS | grep -v '^Copyright .*Free Software' | md5sum -)
NEWS_hash = \
$$(sed -n '/^\*.* $(PREV_VERSION_REGEXP) ([0-9-]*)/,$$p' \
$(srcdir)/NEWS \
| grep -v '^Copyright .*Free Software' \
| md5sum - \
| sed 's/ .*//')
# Ensure that we don't accidentally insert an entry into an old NEWS block.
sc_immutable_NEWS: