From 0a7d0573419ff1f72aa0d36827a23c0250a08f0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?uml=C3=A4ute?= Date: Thu, 29 Oct 2015 00:31:08 +0100 Subject: [PATCH] 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. --- Makefile.pdlibbuilder | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.pdlibbuilder b/Makefile.pdlibbuilder index 79f2d51..31510f1 100644 --- a/Makefile.pdlibbuilder +++ b/Makefile.pdlibbuilder @@ -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