parse version information from comport-meta.pd
This commit is contained in:
parent
a3109e59f1
commit
452cc52da0
1 changed files with 7 additions and 0 deletions
7
Makefile
7
Makefile
|
|
@ -6,6 +6,13 @@ with-bird=no
|
||||||
|
|
||||||
class.sources = comport.c
|
class.sources = comport.c
|
||||||
|
|
||||||
|
comport.version := $(shell sed -n \
|
||||||
|
's|^\#X text [0-9][0-9]* [0-9][0-9]* VERSION \(.*\);|\1|p' \
|
||||||
|
comport-meta.pd)
|
||||||
|
|
||||||
|
cflags = -DVERSION='"$(comport.version)"'
|
||||||
|
|
||||||
|
|
||||||
datafiles = \
|
datafiles = \
|
||||||
comport-help.pd \
|
comport-help.pd \
|
||||||
comport-meta.pd \
|
comport-meta.pd \
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue