diff options
-rw-r--r-- | cpp/Makefile | 4 | ||||
-rw-r--r-- | php/Makefile | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/cpp/Makefile b/cpp/Makefile index dd52234fa8a..c7d9f6597e5 100644 --- a/cpp/Makefile +++ b/cpp/Makefile @@ -17,6 +17,10 @@ ifneq ($(MAKECMDGOALS),install) SUBDIRS := $(SUBDIRS) test endif +ifeq ($(NOTEST),yes) + SUBDIRS := $(filter-out test, $(SUBDIRS)) +endif + INSTALL_SUBDIRS = $(install_bindir) $(install_libdir)$(cpp11libdirsuffix) $(install_includedir) \ $(install_configdir) $(install_mandir) 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 |