]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
Mimic Paul Eggert's changes to Autoconf.
authorAlexandre Duret-Lutz <adl@gnu.org>
Mon, 5 Jan 2004 22:21:31 +0000 (22:21 +0000)
committerAlexandre Duret-Lutz <adl@gnu.org>
Mon, 5 Jan 2004 22:21:31 +0000 (22:21 +0000)
* Makefile.am (automake, aclocal): Use `chmod a-w', not `chmod -w'.
* lib/Automake/Makefile.am (Config.pm): Likewise.
* m4/Makefile.am ($(top_srcdir)/m4/amversion.m4): Likewise.

ChangeLog
Makefile.am
Makefile.in
bootstrap
lib/Automake/Makefile.am
lib/Automake/Makefile.in
m4/Makefile.am
m4/Makefile.in

index d8a2be002d22d2e42ae617229c33092e4218f421..a65598e37b8563559a3c02935611e6e783fd04be 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2004-01-05  Alexandre Duret-Lutz  <adl@gnu.org>
 
+       Mimic Paul Eggert's changes to Autoconf.
+       * Makefile.am (automake, aclocal): Use `chmod a-w', not `chmod -w'.
+       * lib/Automake/Makefile.am (Config.pm): Likewise.
+       * m4/Makefile.am ($(top_srcdir)/m4/amversion.m4): Likewise.
+
        * lib/am/inst-vars.am: New file, define am__vpath_adj_setup,
        am__vpath_adj, and am__strip_dir.
        * lib/am/Makefile.am (dist_am_DATA): Add inst-vars.am.
index 45bd7ff7cfb24f324b49f4905bc1f0d6be8b1e32..d2feb6965ebeeb63ecbdf6ab24d7d181c8e6c8d2 100644 (file)
@@ -2,7 +2,7 @@
 
 ## Makefile for Automake.
 
-## Copyright (C) 1995, 1996, 1997, 1998, 1999, 2001, 2002, 2003
+## Copyright (C) 1995, 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004
 ## Free Software Foundation, Inc.
 
 ## This program is free software; you can redistribute it and/or modify
@@ -69,19 +69,19 @@ do_subst = sed \
 
 ## These files depend on Makefile so they are rebuilt if $(VERSION),
 ## $(datadir) or other do_subst'ituted variables change.
-## Use chmod -w to prevent people from editing the wrong file by accident.
+## Use chmod a-w to prevent people from editing the wrong file by accident.
 automake: automake.in Makefile
        rm -f $@ $@.tmp
        $(do_subst) $(srcdir)/automake.in >$@.tmp
        chmod +x $@.tmp
-       chmod -w $@.tmp
+       chmod a-w $@.tmp
        mv -f $@.tmp $@
 
 aclocal: aclocal.in Makefile
        rm -f $@ $@.tmp
        $(do_subst) $(srcdir)/aclocal.in >$@.tmp
        chmod +x $@.tmp
-       chmod -w $@.tmp
+       chmod a-w $@.tmp
        mv -f $@.tmp $@
 
 ## The master location for INSTALL is lib/INSTALL.
index 1160b4ade1005735c11016cc020ab35d60ac2999..78b36325ceed9425dd95dffff5c4de0d8450cc8a 100644 (file)
@@ -604,14 +604,14 @@ automake: automake.in Makefile
        rm -f $@ $@.tmp
        $(do_subst) $(srcdir)/automake.in >$@.tmp
        chmod +x $@.tmp
-       chmod -w $@.tmp
+       chmod a-w $@.tmp
        mv -f $@.tmp $@
 
 aclocal: aclocal.in Makefile
        rm -f $@ $@.tmp
        $(do_subst) $(srcdir)/aclocal.in >$@.tmp
        chmod +x $@.tmp
-       chmod -w $@.tmp
+       chmod a-w $@.tmp
        mv -f $@.tmp $@
 
 INSTALL: lib/INSTALL
index aae84976c6b16e5e18078787a46356da4cbdee49..095fc92151af809f01f9c09771e9411c335f70d3 100755 (executable)
--- a/bootstrap
+++ b/bootstrap
@@ -2,7 +2,7 @@
 
 # This script helps bootstrap automake, when checked out from CVS.
 #
-# Copyright (C) 2002, 2003  Free Software Foundation, Inc.
+# Copyright (C) 2002, 2003, 2004  Free Software Foundation, Inc.
 # written by Pavel Roskin <proski@gnu.org> September 2002
 #
 # This program is free software; you can redistribute it and/or modify
@@ -102,7 +102,7 @@ dosubst ()
       -e "s%@datadir@%$datadir%g" \
       -e "s%@configure_input@%Generated from $in; do not edit by hand.%g" \
       $1 > $2
-  chmod -w $2
+  chmod a-w $2
 }
 
 
index c248d7cb3c76a499d2f50a9866961b97b9a26bab..da2de3da6c5cf865cd759860482e9bcc64d8e5cd 100644 (file)
@@ -1,6 +1,6 @@
 ## Process this file with automake to create Makefile.in
 
-## Copyright (C) 2001, 2002, 2003  Free Software Foundation, Inc.
+## Copyright (C) 2001, 2002, 2003, 2004  Free Software Foundation, Inc.
 
 ## This program is free software; you can redistribute it and/or modify
 ## it under the terms of the GNU General Public License as published by
@@ -60,12 +60,12 @@ do_subst = in=`echo $@ | sed 's/\.[^.]*$$//'`; sed \
 
 ## This file depend on Makefile so it is rebuilt if $(VERSION),
 ## $(datadir) or other do_subst'ituted variables change.
-## Use chmod -w to prevent people from editing the wrong file by accident.
+## Use chmod a-w to prevent people from editing the wrong file by accident.
 Config.pm: Config.in Makefile
        rm -f Config.tmp Config.pm
        $(do_subst) $(srcdir)/Config.in >Config.tmp
        chmod +x Config.tmp
-       chmod -w Config.tmp
+       chmod a-w Config.tmp
        mv -f Config.tmp Config.pm
 
 EXTRA_DIST = Config.in
index 84ff86c45734639e8252887cb571da87db806af6..f179f03340567b8a3a0206364fbeb5583d08b3ea 100644 (file)
@@ -496,7 +496,7 @@ Config.pm: Config.in Makefile
        rm -f Config.tmp Config.pm
        $(do_subst) $(srcdir)/Config.in >Config.tmp
        chmod +x Config.tmp
-       chmod -w Config.tmp
+       chmod a-w Config.tmp
        mv -f Config.tmp Config.pm
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
index 263b52caf166155b5001c464177d084c1bf765bb..c4970cb9c6e21fb9f67a0e417960e46aab7488e0 100644 (file)
@@ -2,7 +2,7 @@
 
 ## Makefile for Automake m4.
 
-## Copyright (C) 1996, 1997, 1998, 1999, 2001, 2002, 2003
+## Copyright (C) 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004
 ## Free Software Foundation, Inc.
 
 ## This program is free software; you can redistribute it and/or modify
@@ -69,5 +69,5 @@ $(top_srcdir)/m4/amversion.m4: $(srcdir)/amversion.in
            -e 's,[@]APIVERSION[@],$(APIVERSION),g' \
            -e "s,[@]configure_input[@],Generated from amversion.in; do not edit by hand.,g" \
            $(srcdir)/amversion.in > $@t
-       chmod -w $@t
+       chmod a-w $@t
        mv -f $@t $@
index 7b9d5686353501749d5eaf2b5cb1b4c480337c34..cd3dfaac5a4b7f64a80d3afbc09e1687056c3939 100644 (file)
@@ -343,7 +343,7 @@ $(top_srcdir)/m4/amversion.m4: $(srcdir)/amversion.in
            -e 's,[@]APIVERSION[@],$(APIVERSION),g' \
            -e "s,[@]configure_input[@],Generated from amversion.in; do not edit by hand.,g" \
            $(srcdir)/amversion.in > $@t
-       chmod -w $@t
+       chmod a-w $@t
        mv -f $@t $@
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.