diff options
-rw-r--r-- | Makefile.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in index f9f1fed..79fe4ce 100644 --- a/Makefile.in +++ b/Makefile.in @@ -190,6 +190,7 @@ stamp/generated.stamp: false # path lists +GENERATED_FILES := src/conf/version.hpp REAL_SOURCES := $(shell cd ${SRC_DIR}; find src/ -name '*.cpp') REAL_HEADERS := $(shell cd ${SRC_DIR}; find include/ src/ -name '*.hpp' -o -name '*.tcc') PIES := $(shell cd ${SRC_DIR}; find src/ -name '*.py') @@ -351,7 +352,8 @@ thisdir := $(abspath .) # to: # src/strings/zstring.tcc # - only files which either exist (the purpose of the wildcard function), -# or are in the conf-raw directory (the purpose of the filter function). +# are in the conf-raw directory (the first filter function), or +# are listed in the GENERATED_FILES variable (the second filter function). # This means that if there are any build-time generated files added, this # needs to be modified to not filter them out. # @@ -372,6 +374,7 @@ $(foreach root,${PATTERN_ROOTS},$(eval \ ${root} := $(sort \ $(wildcard $(value ${root})) \ $(filter conf-raw/%.h,$(value ${root})) \ + $(filter ${GENERATED_FILES},$(value ${root})) \ ) \ )) |