star-mc

Parallel estimation of Monte Carlo integrators
git clone git://git.meso-star.fr/star-mc.git
Log | Files | Refs | README | LICENSE

commit fcb9fc7e615f741d21db75bf6b53e0dd02c31f38
parent 5006957865c6a38b51147be27016fa22ccb0adca
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Thu, 19 Oct 2023 16:01:54 +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 | 28+++++++++++++---------------
1 file changed, 13 insertions(+), 15 deletions(-)

diff --git a/Makefile b/Makefile @@ -72,28 +72,26 @@ libsmc.o: $(OBJ) # Installation ################################################################################ pkg: - @echo "Setup smc.pc" - @sed -e 's#@PREFIX@#$(PREFIX)#g'\ - -e 's#@VERSION@#$(VERSION)#g'\ - -e 's#@RSYS_VERSION@#$(RSYS_VERSION)#g'\ - -e 's#@STAR-SP_VERSION@#$(STAR-SP_VERSION)#g'\ - smc.pc.in > smc.pc + sed -e 's#@PREFIX@#$(PREFIX)#g'\ + -e 's#@VERSION@#$(VERSION)#g'\ + -e 's#@RSYS_VERSION@#$(RSYS_VERSION)#g'\ + -e 's#@STAR-SP_VERSION@#$(STAR-SP_VERSION)#g'\ + smc.pc.in > smc.pc smc-local.pc: smc.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#@STAR-SP_VERSION@#$(STAR-SP_VERSION)#g'\ - smc.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#@STAR-SP_VERSION@#$(STAR-SP_VERSION)#g'\ + smc.pc.in > $@ install: build_library pkg @$(SHELL) make.sh install "$(DESTDIR)$(PREFIX)/lib" $(LIBNAME) @$(SHELL) make.sh install "$(DESTDIR)$(PREFIX)/lib/pkgconfig" smc.pc @$(SHELL) make.sh install "$(DESTDIR)$(PREFIX)/include/star" src/smc.h - @$(SHELL) make.sh install "$(DESTDIR)$(PREFIX)/share/doc/star-mc"\ - COPYING README.md + @$(SHELL) make.sh install "$(DESTDIR)$(PREFIX)/share/doc/star-mc" COPYING README.md uninstall: rm -f "$(DESTDIR)$(PREFIX)/lib/$(LIBNAME)"