From cd2b3616bba51b401f1f231e96491da1edaf20d3 Mon Sep 17 00:00:00 2001 From: Sascha Schumann Date: Mon, 3 Jan 2000 12:39:44 +0000 Subject: FreeBSD 2.x/3.x fix. --- build/rules.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'build') 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) -- cgit v1.2.1