[netcdf] 13/19: recursive lib symlink

Alastair McKinstry mckinstry at moszumanska.debian.org
Sun Apr 17 15:35:02 UTC 2016


This is an automated email from the git hooks/post-receive script.

mckinstry pushed a commit to branch dev-coinstallable
in repository netcdf.

commit eece181dafd9b67d0547c630c6cb4dd6c56601dd
Author: Alastair McKinstry <mckinstry at debian.org>
Date:   Sun Feb 21 09:08:32 2016 +0000

    recursive lib symlink
---
 debian/rules | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/debian/rules b/debian/rules
index 30db495..28ea438 100755
--- a/debian/rules
+++ b/debian/rules
@@ -72,7 +72,7 @@ override_dh_auto_install:
 		mkdir -p debian/tmp/$(LIBDIR)/netcdf/$$d/cmake debian/tmp/$(LIBDIR)/cmake debian/tmp/$(LIBDIR)/pkgconfig ; \
 		cp debian/tmp-$$d/$(LIBDIR)/libnetcdf.settings debian/tmp/$(LIBDIR)/netcdf/$$d/libnetcdf.settings ; \
 		cp -a debian/tmp-$$d/$(LIBDIR)/cmake/netCDF	debian/tmp/$(LIBDIR)/cmake/netCDF_$$d ; \
-		ln -fs $(LIBDIR)/cmake/netCDF_$$d 	debian/tmp/$(LIBDIR)/netcdf/$$d/cmake/netCDF ; \
+		dh_link -p libnetcdf-$$d-dev  $(LIBDIR)/cmake/netCDF_$$d $(LIBDIR)/netcdf/$$d/cmake/netCDF ; \
 		done
 	# Parallel versions
 	for d in mpi pnetcdf ; do \
@@ -86,7 +86,7 @@ override_dh_auto_install:
 		dh_link -p libnetcdf-$$d-dev $(LIBDIR)/libnetcdf_$$d.so.11.0.0 $(LIBDIR)/netcdf/$$d/libnetcdf.so ; \
 		dh_link -p libnetcdf-$$d-dev $(LIBDIR)/libnetcdf_$$d.so.11.0.0 $(LIBDIR)/libnetcdf_$$d.so ; \
 		dh_link -p libnetcdf-$$d-11 $(LIBDIR)/libnetcdf_$$d.so.11.0.0 $(LIBDIR)/libnetcdf_$$d.so.11 ; \
-		dh_link -p libnetcdf-$$d-dev $(LIBDIR) $(LIBDIR)/netcdf/$$d/lib ;  \
+		dh_link -p libnetcdf-$$d-dev $(LIBDIR)/netcdf/$$d  $(LIBDIR)/netcdf/$$d/lib ;  \
 		dh_link -p libnetcdf-$$d-dev /usr/include $(LIBDIR)/netcdf/$$d/include ; \
 		done
 	# Serial; one-off only
@@ -107,7 +107,7 @@ override_dh_auto_install:
 	# Strip RPATH
 	-find $(CURDIR)/debian/tmp/usr/bin -type f -not -name nc-config -exec chrpath --delete {} \;
 	-find $(CURDIR)/debian/tmp/usr/lib -type f -name "*.so*" -exec chrpath --delete {} \;
-	dh_link -p libnetcdf-dev $(LIBDIR)            $(LIBDIR)/netcdf/serial/lib
+	dh_link -p libnetcdf-dev $(LIBDIR)/netcdf/serial             $(LIBDIR)/netcdf/serial/lib
 	dh_link -p libnetcdf-dev /usr/include         $(LIBDIR)/netcdf/serial/include
 
 override_dh_auto_test:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/netcdf.git



More information about the Pkg-grass-devel mailing list