Skip to content

Commit

Permalink
use $(metafile) in version expansion
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
umlaeute committed Oct 28, 2015
1 parent 84ae43e commit 0a7d057
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.pdlibbuilder
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down

0 comments on commit 0a7d057

Please sign in to comment.