Project

General

Profile

« Previous | Next » 

Revision 8383

inputs/input.Makefile: SVN: Only run %/add on subdirs with visible (non-hidden) files. Subdirs with only hidden files (e.g. .htaccess) are assumed to be non-data dirs.

View differences:

inputs/input.Makefile
102 102
allTables := $(call sortFilenames,$(filter-out _% verify logs,$(allSubdirs:%/=%)))
103 103
joinedTables := $(filter-out $(tables),$(allTables))
104 104
allTables := $(strip $(joinedTables) $(tables))# move joined tables to beginning
105
has_visible_files = $(call wildcard/,$(1)/*)
106
allTables := $(foreach table,$(allTables),$(if\
107
$(call has_visible_files,$(table)),$(table)))
105 108
ifeq ($(tables),)# none specified in sort file
106 109
tables := $(allTables)
107 110
endif

Also available in: Unified diff