commit c9cab017fd6515a96f2efe6a10ced2e1bb0ab037
parent 928c1f325ea19c7a104bbc71ccfd8ceb565b91a2
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Fri, 8 Sep 2023 15:39:38 +0200
Fix of pkg-config file generation
The netCDF version was not defined due to a typo in a sed directive.
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
@@ -68,7 +68,7 @@ $(LIBNAME_STATIC): $(OBJ)
pkg:
sed -e 's#@PREFIX@#$(PREFIX)#g'\
-e 's#@VERSION@#$(VERSION)#g'\
- -e 's#@RNETCDF_VERSION@#$(NETCDF_VERSION)#g'\
+ -e 's#@NETCDF_VERSION@#$(NETCDF_VERSION)#g'\
-e 's#@RSYS_VERSION@#$(RSYS_VERSION)#g'\
htmie.pc.in > htmie.pc
@@ -77,7 +77,7 @@ htmie-local.pc: htmie.pc.in
-e 's#^includedir=.*#includedir=./src/#'\
-e 's#^libdir=.*#libdir=./#'\
-e 's#@VERSION@#$(VERSION)#g'\
- -e 's#@RNETCDF_VERSION@#$(NETCDF_VERSION)#g'\
+ -e 's#@NETCDF_VERSION@#$(NETCDF_VERSION)#g'\
-e 's#@RSYS_VERSION@#$(RSYS_VERSION)#g'\
htmie.pc.in > $@