From: Sascha Schumann Date: Mon, 3 Jan 2000 12:39:44 +0000 (+0000) Subject: FreeBSD 2.x/3.x fix. X-Git-Tag: BEFORE_PRE_SHUTDOWN_REVERSE_PATCH~81 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cd2b3616bba51b401f1f231e96491da1edaf20d3;p=php FreeBSD 2.x/3.x fix. --- diff --git a/build/rules.mk b/build/rules.mk index 227d1cebee..c07b22ecab 100644 --- a/build/rules.mk +++ b/build/rules.mk @@ -86,8 +86,8 @@ distclean-recursive depend-recursive clean-recursive all-recursive install-recur fi; \ (cd $$i && $(MAKE) $$target) || exit 1; \ done; \ - test "$otarget" = "all" && test -z '$(targets)' && ok=yes; \ - test "$ok" = "yes" || $(MAKE) "$$otarget-p" || exit 1; \ + if test "$$otarget" = "all" && test -z '$(targets)'; then ok=yes; fi; \ + if test "$$ok" != "yes"; then $(MAKE) "$$otarget-p" || exit 1; fi; \ fi; all-p: $(targets)