commit 2331d845a9d7b239689e7bc895e7172dc0711e1f parent ca82ebe275b78059bca8bae49762874b80d639c9 Author: Vincent Forest <vincent.forest@meso-star.com> Date: Fri, 27 Oct 2023 14:29:19 +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 @@ -71,19 +71,18 @@ libs3dut.o: $(OBJ) # Installation ################################################################################ pkg: - @echo "Setup s3dut.pc" - @sed -e 's#@PREFIX@#$(PREFIX)#g'\ - -e 's#@VERSION@#$(VERSION)#g'\ - -e 's#@RSYS_VERSION@#$(RSYS_VERSION)#g'\ - s3dut.pc.in > s3dut.pc + sed -e 's#@PREFIX@#$(PREFIX)#g'\ + -e 's#@VERSION@#$(VERSION)#g'\ + -e 's#@RSYS_VERSION@#$(RSYS_VERSION)#g'\ + s3dut.pc.in > s3dut.pc s3dut-local.pc: s3dut.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'\ - s3dut.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'\ + s3dut.pc.in > $@ install: build_library pkg @$(SHELL) make.sh install "$(DESTDIR)$(PREFIX)/lib" $(LIBNAME)