use $(metafile) in version expansion
lib.version is only expanded if the file named by $(metafile) exists, but then it uses a hardcoded filename to do the actual expansion. this patch uses $(metafile) to do the expansion instead.
This commit is contained in:
parent
84ae43edc8
commit
0a7d057341
1 changed files with 1 additions and 1 deletions
|
|
@ -662,7 +662,7 @@ metafile := $(wildcard $(lib.name)-meta.pd)
|
|||
ifdef metafile
|
||||
lib.version := $(shell sed -n \
|
||||
's|^\#X text [0-9][0-9]* [0-9][0-9]* VERSION \(.*\);|\1|p' \
|
||||
$(lib.name)-meta.pd)
|
||||
$(metafile))
|
||||
endif
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue