Sat Jan 13 00:18:06 1996 Tom Tromey <tromey@creche.cygnus.com>
+ * automake.in (handle_dist_worker): If Gnits, don't allow release
+ until NEWS is updated.
+
* configure.in (VERSION): Version 0.29.
* Makefile.am (maintainer-check): Look for perl4.036 in path.
-# Makefile.in generated automatically by automake 0.28 from Makefile.am
+# Makefile.in generated automatically by automake 0.29 from Makefile.am
# Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
distdir = $(PACKAGE)-$(VERSION)
dist: $(DEP_DISTFILES)
+ @if sed 15q NEWS | grep -e "$(VERSION)" > /dev/null; then :; else \
+ echo "NEWS not updated; not releasing" 1>&2; \
+ exit 1; \
+ fi
rm -rf $(distdir)
mkdir $(distdir)
chmod 777 $(distdir)
* am_error should use printf-style arguments (for eventual gettext scheme)
-If --gnits, put this into dist rule:
- @if sed 1q NEWS | grep -e "$(VERSION)" > /dev/null; then :; else \
- echo "NEWS not updated; not releasing" 1>&2; \
- exit 1; \
- fi
-
-
uninstall and pkg-dirs should rm -rf the dir.
In general most .am files should be merged into automake. For
# Initialization; only at top level.
if ($relative_dir eq '.')
{
+ if ($strictness >= $GNITS)
+ {
+ # For Gnits users, this is pretty handy. Look at 15 lines
+ # in case some explanatory text is desirable.
+ $output_rules .= ' @if sed 15q NEWS | grep -e "$(VERSION)" > /dev/null; then :; else \\
+ echo "NEWS not updated; not releasing" 1>&2; \\
+ exit 1; \\
+ fi
+';
+ }
+
+
$output_rules .=
(
# Create dist directory.