summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2000-01-03 12:39:44 +0000
committerSascha Schumann <sas@php.net>2000-01-03 12:39:44 +0000
commitcd2b3616bba51b401f1f231e96491da1edaf20d3 (patch)
tree6bc6c025b44e2623a18b04b9d65ade44d81801ab /build
parent35286e292259c8bc4c6d93023d41513b3136833a (diff)
downloadphp-git-cd2b3616bba51b401f1f231e96491da1edaf20d3.tar.gz
FreeBSD 2.x/3.x fix.
Diffstat (limited to 'build')
-rw-r--r--build/rules.mk4
1 files changed, 2 insertions, 2 deletions
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)