[med-svn] [irtk] 01/07: d/*: move binaries to private dir, use symlinks
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Wed Mar 18 17:03:49 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 4eb21771f73a812704f13eea4d0bf05965e5c04c
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date: Wed Mar 18 12:59:23 2015 +0000
d/*: move binaries to private dir, use symlinks
---
debian/irtk.install | 2 +-
debian/rules | 6 ++++++
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/debian/irtk.install b/debian/irtk.install
index 4cb4bd3..5e3ab7d 100644
--- a/debian/irtk.install
+++ b/debian/irtk.install
@@ -1 +1 @@
-/usr/bin/*
+/usr/bin/* /usr/lib/irtk
diff --git a/debian/rules b/debian/rules
index 80c5bc3..8766eef 100755
--- a/debian/rules
+++ b/debian/rules
@@ -26,6 +26,12 @@ override_dh_auto_configure:
override_dh_auto_build:
dh_auto_build
+ # Generate debhelper file to create symlinks for all
+ # relevant ITK binaries
+ for f in $$(find \! -type d | sort); do \
+ bname=$$(basename $$f); \
+ echo "/usr/lib/irtk/$$bname /usr/bin/irtk-$$bname" >> debian/irtk.links; \
+ done
# Make doxygen documentation
cd $(BUILDDIR) && $(MAKE) doc
--
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