mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
e894cb079a
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>
20 lines
402 B
Makefile
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
|