From ac89799c3e78e9af1031226eb2fd389a70ce3c1b Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Sat, 19 Mar 2016 02:11:31 +0100 Subject: Shut find up about files not found Some of the files in $(DEPS) might not exist. We don't need to know. Reviewed-by: Rich Salz --- Configurations/unix-Makefile.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Configurations') diff --git a/Configurations/unix-Makefile.tmpl b/Configurations/unix-Makefile.tmpl index 77ba75b..be42743 100644 --- a/Configurations/unix-Makefile.tmpl +++ b/Configurations/unix-Makefile.tmpl @@ -260,7 +260,7 @@ clean: libclean # concatenate only if that is true. depend: @: {- output_off() if $disabled{makedepend}; "" -} - @if [ -z "`find $(DEPS) -newer Makefile`" ]; then \ + @if [ -z "`find $(DEPS) -newer Makefile 2>/dev/null`" ]; then \ ( sed -e '/^# DO NOT DELETE THIS LINE.*/,$$d' < Makefile; \ echo '# DO NOT DELETE THIS LINE -- make depend depends on it.'; \ echo; \ -- cgit v1.1