]> granicus.if.org Git - php/commitdiff
FreeBSD 2.x/3.x fix.
authorSascha Schumann <sas@php.net>
Mon, 3 Jan 2000 12:39:44 +0000 (12:39 +0000)
committerSascha Schumann <sas@php.net>
Mon, 3 Jan 2000 12:39:44 +0000 (12:39 +0000)
build/rules.mk

index 227d1cebee52e6652fdac74dfcce438d2b870d7b..c07b22ecab13c764e7a2d1867bcd1d46c3135602 100644 (file)
@@ -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)