commit 1129a57941d8de7c40c9efc2a38a0d521cda7349 parent 0e740351dcfa0c962369a7b6d19b225b3481bf69 Author: Vincent Forest <vincent.forest@meso-star.com> Date: Fri, 27 Oct 2023 10:50:39 +0200 Displays the sed directives that generate the pc file There's no particular advantage to hiding them, and it's normal to see what's going on. Diffstat:
| M | Makefile | | | 21 | ++++++++++----------- |
1 file changed, 10 insertions(+), 11 deletions(-)
diff --git a/Makefile b/Makefile @@ -74,19 +74,18 @@ libsvx.o: $(OBJ) # Installation ################################################################################ pkg: - @echo "Setup svx.pc" - @sed -e 's#@PREFIX@#$(PREFIX)#g'\ - -e 's#@VERSION@#$(VERSION)#g'\ - -e 's#@RSYS_VERSION@#$(RSYS_VERSION)#g'\ - svx.pc.in > svx.pc + sed -e 's#@PREFIX@#$(PREFIX)#g'\ + -e 's#@VERSION@#$(VERSION)#g'\ + -e 's#@RSYS_VERSION@#$(RSYS_VERSION)#g'\ + svx.pc.in > svx.pc svx-local.pc: svx.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'\ - svx.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'\ + svx.pc.in > $@ install: build_library pkg @$(SHELL) make.sh install "$(DESTDIR)$(PREFIX)/lib" $(LIBNAME)