star-3d

Surface structuring for efficient 3D geometric queries
git clone git://git.meso-star.fr/star-3d.git
Log | Files | Refs | README | LICENSE

commit 4ded849d7b56322fbceeabda55f28e18715537af
parent dab10c1455673d23c85ad38a078c18f07a29c1a9
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Wed, 18 Oct 2023 17:11:53 +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:
MMakefile | 25++++++++++++-------------
1 file changed, 12 insertions(+), 13 deletions(-)

diff --git a/Makefile b/Makefile @@ -79,21 +79,20 @@ libs3d.o: $(OBJ) # Installation ################################################################################ pkg: - @echo "Setup s3d.pc" - @sed -e 's#@PREFIX@#$(PREFIX)#g'\ - -e 's#@VERSION@#$(VERSION)#g'\ - -e 's#@RSYS_VERSION@#$(RSYS_VERSION)#g'\ - -e 's#@EMBREE_VERSION@#$(EMBREE_VERSION)#g'\ - s3d.pc.in > s3d.pc + sed -e 's#@PREFIX@#$(PREFIX)#g'\ + -e 's#@VERSION@#$(VERSION)#g'\ + -e 's#@RSYS_VERSION@#$(RSYS_VERSION)#g'\ + -e 's#@EMBREE_VERSION@#$(EMBREE_VERSION)#g'\ + s3d.pc.in > s3d.pc s3d-local.pc: s3d.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'\ - -e 's#@EMBREE_VERSION@#$(EMBREE_VERSION)#g'\ - s3d.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'\ + -e 's#@EMBREE_VERSION@#$(EMBREE_VERSION)#g'\ + s3d.pc.in > $@ install: build_library pkg @$(SHELL) make.sh install "$(DESTDIR)$(PREFIX)/lib" $(LIBNAME)