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 <rsalz@openssl.org>
This commit is contained in:
Richard Levitte 2016-03-19 02:11:31 +01:00
parent c6aca19bb5
commit ac89799c3e

View file

@ -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; \