From 41840b13d2f38adeca64aae67a964bac2075c34d Mon Sep 17 00:00:00 2001 From: Dirk Zimoch Date: Fri, 26 Jun 2020 11:38:07 +0200 Subject: [PATCH] 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) --- App/tools/driver.makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/App/tools/driver.makefile b/App/tools/driver.makefile index a2e00ee..b14e04a 100644 --- a/App/tools/driver.makefile +++ b/App/tools/driver.makefile @@ -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