From ee5e15408e617b0baaa526474872808baebf996a Mon Sep 17 00:00:00 2001 From: Dirk Zimoch Date: Fri, 23 May 2025 17:11:27 +0200 Subject: [PATCH] fix 'force rebuild library when LIBVERSION changed' --- 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 04c3be7..dfcada4 100644 --- a/App/tools/driver.makefile +++ b/App/tools/driver.makefile @@ -965,7 +965,7 @@ endif PRODUCTS = ${MODULELIB} ${MODULEDBD} ${DEPFILE} MODULEINFOS: # Rewrite version file and thus rebuild library if version changed: - @grep -xqs ${LIBVERSION} LIBVERSION || $(RM) $(wildcard *_version_*.*) + @grep -xqs ${LIBVERSION} LIBVERSION || $(RM) $(filter-out $(addsuffix .%,$(basename $(VERSIONFILE))), $(wildcard *_version_*.*)) @echo ${PRJ} > MODULENAME @echo $(shell findmnt -t noautofs -n -o SOURCE --target ${EPICS_MODULES} | tail -n1) > INSTBASE @echo ${PRODUCTS} > PRODUCTS