star-mesh

Define and load a binary data format for meshes
git clone git://git.meso-star.fr/star-mesh.git
Log | Files | Refs | README | LICENSE

commit fb8b023c7f81a7a0d4c121e42fea2e18b2a80bdd
parent 178acab0097380958d1e67d91e41924628e4a9a9
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Fri, 27 Oct 2023 11:50:27 +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 | 21++++++++++-----------
1 file changed, 10 insertions(+), 11 deletions(-)

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