]> sourceware.org Git - automake.git/commitdiff
Don't allow Gnits release until NEWS updated
authorTom Tromey <tromey@redhat.com>
Sun, 14 Jan 1996 05:58:39 +0000 (05:58 +0000)
committerTom Tromey <tromey@redhat.com>
Sun, 14 Jan 1996 05:58:39 +0000 (05:58 +0000)
ChangeLog
Makefile.in
TODO
automake.in

index 43c3f776e00921b03455424a4f63c62c17e727f1..92115b3ce623adbe2e58054c11946392f7b7efe6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 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.
index a16dc3208195b4ced455c9ab05e101d13ea70192..295117bb508eeb6b1facaa3ca703cf5ee9b070cd 100644 (file)
@@ -1,4 +1,4 @@
-# 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
@@ -211,6 +211,10 @@ maintainer-clean-tags:
 
 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)
diff --git a/TODO b/TODO
index f378c97a557948575c14a1928b1a5474ae3fdf3d..6ab10301aa85e71d57f3c43cfce6c6f71b883bfe 100644 (file)
--- a/TODO
+++ b/TODO
@@ -9,13 +9,6 @@ Top priorities:
 
 * 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
index fdb291a54b262a49ff3b00097501a40f561f1b71..ca8374422aa810fb581cf8de2aff91753263b0c1 100755 (executable)
@@ -687,6 +687,18 @@ sub handle_dist_worker
     # 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.
This page took 0.038444 seconds and 5 git commands to generate.