From: Jim Meyering Date: Fri, 3 Jan 2003 21:34:06 +0000 (+0000) Subject: (false.c): Make the generated file be read-only. X-Git-Tag: COREUTILS-4_5_5~362 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d45f740edcdddb3c059b9b78792cd38a176090ee;p=platform%2Fupstream%2Fcoreutils.git (false.c): Make the generated file be read-only. --- diff --git a/src/Makefile.am b/src/Makefile.am index ad95346..d14930c 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 = \