mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
b29b8b077e
Latest glibc changed some rules of sorting and regexes, the usage likes "[a-z]" maybe not only stand for lowcase letters a..z in different locale. Similar issues include [A-Z], [0-9] and so on. For example, in en_US.UTF-8 locale, [a-z] means aAbBcCdD...zZ, it stands for both of uppercase and lowercase. Currently this issue cause `make install` fails on system with new glibc. So use POSIX character class to instead of [...] group, something likes [:lower:], [:upper:], [:alpha:], [:alnum:], etc... are common. Signed-off-by: Zorro Lang <zlang@redhat.com> Reviewed-by: Eryu Guan <guaneryu@gmail.com> Signed-off-by: Eryu Guan <guaneryu@gmail.com>
20 lines
398 B
Makefile
20 lines
398 B
Makefile
#
|
|
# Copyright (c) 2003-2005 Silicon Graphics, Inc. All Rights Reserved.
|
|
#
|
|
|
|
TOPDIR = ..
|
|
include $(TOPDIR)/include/builddefs
|
|
|
|
TESTS_SUBDIRS = $(sort $(dir $(wildcard $(CURDIR)/[[:lower:]]*/)))
|
|
|
|
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
|