]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(../AUTHORS): Make it read-only.
authorJim Meyering <jim@meyering.net>
Sun, 13 Oct 2002 06:48:42 +0000 (06:48 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 13 Oct 2002 06:48:42 +0000 (06:48 +0000)
src/Makefile.am

index 7215f42c3faf7316cf29c64e3b843b7c8bfff585..156b2be1d31c8083cc050773180f03eb87f993fd 100644 (file)
@@ -210,6 +210,7 @@ s1 = '/^\#define AUTHORS \([^\\]\)/{;s//\1/;$(sed_filter);p;q;}'
 s2 = '/^\#define AUTHORS \\\\/{;n;$(sed_filter);p;q;}'
 # FIXME: handle *.sh
 ../AUTHORS: $(SOURCES)
+       rm -f $@-t
        (                                               \
          set -e;                                       \
          echo "Here are the names of the programs in this package,";   \
@@ -224,4 +225,5 @@ s2 = '/^\#define AUTHORS \\\\/{;n;$(sed_filter);p;q;}'
              echo "$$prog: $$a";                       \
            fi;                                         \
          done | sort -u ) > $@-t
+       chmod a-w $@-t
        mv $@-t $@