summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am2
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 = \