From d45f740edcdddb3c059b9b78792cd38a176090ee Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 3 Jan 2003 21:34:06 +0000 Subject: (false.c): Make the generated file be read-only. --- src/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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 = \ -- cgit v1.2.3-70-g09d2