summaryrefslogtreecommitdiff
path: root/php
diff options
context:
space:
mode:
Diffstat (limited to 'php')
-rw-r--r--php/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/php/Makefile b/php/Makefile
index 35344832dd5..38f40e98378 100644
--- a/php/Makefile
+++ b/php/Makefile
@@ -17,6 +17,10 @@ ifneq ($(MAKECMDGOALS),install)
SUBDIRS := $(SUBDIRS) test
endif
+ifeq ($(NOTEST),yes)
+ SUBDIRS := $(filter-out test, $(SUBDIRS))
+endif
+
INSTALL_SUBDIRS = $(install_phpdir) $(install_libdir)
install:: install-common