mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-24 02:24:07 +00:00
build: Replace a sed expression with a simpler awk
The former does not work for sure on macosx.
This commit is contained in:
parent
a44d24ce40
commit
15fd8241a9
|
@ -330,7 +330,7 @@ endif
|
|||
|
||||
.PHONY: kvazaar.pc init_submodules install install-pc install-prog install-lib
|
||||
.PHONY: install-dylib install-dll clean
|
||||
kvazaar.pc: KVZ_VERSION = $(shell sed -n 's/^#define\s\+KVZ_VERSION\s\+\(.*\)/\1/ p' global.h)
|
||||
kvazaar.pc: KVZ_VERSION = $(shell awk '/#define KVZ_VERSION/ { print $$3 }' global.h)
|
||||
kvazaar.pc: kvazaar.pc.in Makefile
|
||||
sed -e "s;@prefix@;$(PREFIX);" -e "s;@libdir@;$(LIBDIR);" \
|
||||
-e "s;@VERSION@;$(KVZ_VERSION);" \
|
||||
|
|
Loading…
Reference in a new issue