forked from epics_driver_modules/require
to filter out dirs from HEADERS wildcards, don't filter for -f (is file) but for not -d (is not dir) to be able to catch missing headers (which would otherwise be silently ignored)
This commit is contained in:
@@ -121,7 +121,7 @@ define uniq
|
||||
endef
|
||||
# Function that removes directories from list
|
||||
define filter_out_dir
|
||||
$(shell perl -e 'foreach my $$x (qw($1)) {if(-f "$$x") {print "$$x "}}')
|
||||
$(shell perl -e 'foreach my $$x (qw($1)) {unless(-d "$$x") {print "$$x "}}')
|
||||
endef
|
||||
# Function that retains the certian portion of the header file path
|
||||
# and then used as the subdirectory inside INSTALL_INCLUDE
|
||||
|
||||
Reference in New Issue
Block a user