commit 315786ec985b0b58f9e8d6e7312c88b9d3680956 parent 218ac59c1c84d70e9aa1cb497dd95d664211cc04 Author: Vincent Forest <vincent.forest@meso-star.com> Date: Thu, 27 Jul 2023 17:15:29 +0200 Small updates to the Makefile Don't hide the sed commands that generate the pkg-config files. There's no particular advantage to hiding them, but it's still healthy to see what's going on. Diffstat:
| M | Makefile | | | 21 | ++++++++++----------- |
1 file changed, 10 insertions(+), 11 deletions(-)
diff --git a/Makefile b/Makefile @@ -62,19 +62,18 @@ $(LIBNAME_STATIC): $(OBJ) # Installation ################################################################################ pkg: - @echo "Setup scmap.pc" - @sed -e 's#@PREFIX@#$(PREFIX)#g'\ - -e 's#@VERSION@#$(VERSION)#g'\ - -e 's#@RSYS_VERSION@#$(RSYS_VERSION)#g'\ - scmap.pc.in > scmap.pc + sed -e 's#@PREFIX@#$(PREFIX)#g'\ + -e 's#@VERSION@#$(VERSION)#g'\ + -e 's#@RSYS_VERSION@#$(RSYS_VERSION)#g'\ + scmap.pc.in > scmap.pc scmap-local.pc: scmap.pc.in - @sed -e '1d'\ - -e 's#^includedir=.*#includedir=./src/#'\ - -e 's#^libdir=.*#libdir=./#'\ - -e 's#@VERSION@#$(VERSION)#g'\ - -e 's#@RSYS_VERSION@#$(RSYS_VERSION)#g'\ - scmap.pc.in > $@ + sed -e '1d'\ + -e 's#^includedir=.*#includedir=./src/#'\ + -e 's#^libdir=.*#libdir=./#'\ + -e 's#@VERSION@#$(VERSION)#g'\ + -e 's#@RSYS_VERSION@#$(RSYS_VERSION)#g'\ + scmap.pc.in > $@ install: build_library pkg @$(SHELL) make.sh install "$(DESTDIR)$(PREFIX)/lib" $(LIBNAME)