[med-svn] [irtk] 05/07: d/rules: drop versioning in symlinks

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Wed Mar 18 17:03:50 UTC 2015


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

ghisvail-guest pushed a commit to branch debian/sid
in repository irtk.

commit 8bddcc59de51ce20dd91e1aa0b8b3675fa00b3c4
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Wed Mar 18 15:41:06 2015 +0000

    d/rules: drop versioning in symlinks
---
 debian/rules | 26 +++++++++++++-------------
 1 file changed, 13 insertions(+), 13 deletions(-)

diff --git a/debian/rules b/debian/rules
index b50cb41..163861e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -28,19 +28,19 @@ override_dh_auto_configure:
 		-DWRAP_PYTHON=OFF
 
 override_dh_auto_build:
-		dh_auto_build
-		# Generate debhelper .install file to install the IRTK 
-		# executables to a private versioned location.
-		touch debian/irtk$(IRTK_MAJOR_VERSION).install
-		echo "/usr/bin/* /usr/lib/irtk$(IRTK_MAJOR_VERSION)" > debian/irtk$(IRTK_MAJOR_VERSION).install	
-		# Generate debhelper .links file to create the versioned 
-		# symlinks to the IRTK executables.
-		for f in $$(find $(BUILDDIR)/bin \! -type d | sort); do \
-				bname=$$(basename $$f); \
-				echo "/usr/lib/irtk$(IRTK_MAJOR_VERSION)/$$bname /usr/bin/irtk$(IRTK_MAJOR_VERSION)-$$bname" >> debian/irtk$(IRTK_MAJOR_VERSION).links; \
-		done
-		# Make doxygen documentation
-		cd $(BUILDDIR) && $(MAKE) doc
+	dh_auto_build
+	# Generate debhelper .install file to install the IRTK 
+	# executables to a private versioned location.
+	touch debian/irtk$(IRTK_MAJOR_VERSION).install
+	echo "/usr/bin/* /usr/lib/irtk$(IRTK_MAJOR_VERSION)" > debian/irtk$(IRTK_MAJOR_VERSION).install	
+	# Generate debhelper .links file to create the versioned 
+	# symlinks to the IRTK executables.
+	for f in $$(find $(BUILDDIR)/bin \! -type d | sort); do \
+		bname=$$(basename $$f); \
+		echo "/usr/lib/irtk$(IRTK_MAJOR_VERSION)/$$bname /usr/bin/irtk-$$bname" >> debian/irtk$(IRTK_MAJOR_VERSION).links; \
+	done
+	# Make doxygen documentation
+	cd $(BUILDDIR) && $(MAKE) doc
 
 override_dh_auto_clean:
 	dh_auto_clean

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/irtk.git



More information about the debian-med-commit mailing list