Files
apfstests/tests/Makefile
T
Wang Sheng-Hui e894cb079a xfstests: update method to set TESTS_SUBDIRS in tests/Makefile.
make install support common/ and tests/ dirs (V4)
  * reposted for current top of tree changes. [rjohnston@sgi.com]
  * use the neater way by Dave to get the TESTS_SUBDIRS in tests/Makefile.

Signed-off-by: Wang Sheng-Hui <shhuiw@gmail.com>
[rjohnston@sgi.com Reposted for current top of tree changes]
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Rich Johnston <rjohnston@sgi.com>
2013-05-13 15:41:21 -05:00

20 lines
402 B
Makefile

#
# Copyright (c) 2003-2005 Silicon Graphics, Inc. All Rights Reserved.
#
TOPDIR = ..
include $(TOPDIR)/include/builddefs
TESTS_SUBDIRS = $(sort $(dir $(wildcard $(PWD)/$(TESTS_DIR)/[a-z]*/)))
include $(BUILDRULES)
install: $(addsuffix -install,$(TESTS_SUBDIRS))
$(INSTALL) -m 755 -d $(PKG_LIB_DIR)/$(TESTS_DIR)
# Nothing.
install-dev install-lib:
%-install:
$(MAKE) $(MAKEOPTS) -C $* install