* 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.
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.
## 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
## 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.
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
# 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
-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
}
## 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
## 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
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.
## 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
-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 $@
-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.