diff options
author | Jim Meyering <jim@meyering.net> | 2003-01-03 21:34:06 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-01-03 21:34:06 +0000 |
commit | d45f740edcdddb3c059b9b78792cd38a176090ee (patch) | |
tree | 8b0980addf0ab726f9d954225931a3395286bdf2 /src | |
parent | 8cce2636495b071be7bbf3ed646247ad798b71d3 (diff) | |
download | coreutils-d45f740edcdddb3c059b9b78792cd38a176090ee.tar.xz |
(false.c): Make the generated file be read-only.
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index ad95346f3..d14930cc6 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -174,11 +174,13 @@ BUILT_SOURCES = dircolors.h false.c wheel.h wheel-size.h AM_INSTALLCHECK_STD_OPTIONS_EXEMPT = false false.c: true.c + rm -f $@ sed \ -e s/true/false/g \ -e s/success/failure/g \ -e 's/^ exit (EXIT_SUCCESS/ exit (EXIT_FAILURE/g' \ $(srcdir)/true.c > $@-t + chmod a-w $@-t mv $@-t $@ all_programs = \ |