I suggest reading the comment just above depend:, especially this: # To check if test has the file age comparison operator, we # simply try, and rely test to exit with 0 if the comparison # was true, 1 if false, and most importantly, 2 if it doesn't # recognise the operator.
Comparing Makefile with Makefile is because... well, it's as good a file as any, and since the result from the operation itself isn't the important part on that line, a bit of Makefile narcissism can't hurt ;-) Cheers, Richard In message <1b05c047-cb6d-4082-8c8f-b5820d22a...@akamai.com> on Tue, 8 Mar 2016 20:57:07 +0000, "Short, Todd" <tsh...@akamai.com> said: tshort> Hi, tshort> tshort> I noticed the following oddity in commit f8d9d6e: tshort> tshort> depend: tshort> @catdepends=false; \ tshort> if [ Makefile -nt Makefile ] 2>/dev/null || [ $$? = 1 ]; then \ tshort> tshort> I’m not sure of the intent or the fix, but it doesn’t seem right to tshort> compare the timestamp of a file to itself. tshort> tshort> -- tshort> -Todd Short tshort> // tsh...@akamai.com tshort> // "One if by land, two if by sea, three if by the Internet." tshort> -- openssl-dev mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev