[med-svn] [orthanc] 02/06: Enable building architecture all package separately

Andreas Tille tille at debian.org
Thu Apr 7 21:29:05 UTC 2016


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

tille pushed a commit to branch master
in repository orthanc.

commit 8c622c26307758472f9fa16094ef4ed0382f49b5
Author: Andreas Tille <tille at debian.org>
Date:   Thu Apr 7 21:10:31 2016 +0200

    Enable building architecture all package separately
---
 debian/changelog | 2 ++
 debian/rules     | 9 ++++++---
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 87addfb..b5d176f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,8 @@ orthanc (1.0.0+dfsg-3) UNRELEASED; urgency=medium
 
   [ Andreas Tille ]
   * d/watch: use repack and compress option
+  * Enable building architecture all package separately
+    Closes: #820062
 
  -- Sebastien Jodogne <s.jodogne at gmail.com>  Thu, 07 Apr 2016 15:37:31 +0200
 
diff --git a/debian/rules b/debian/rules
index e28de74..922c060 100755
--- a/debian/rules
+++ b/debian/rules
@@ -64,7 +64,7 @@ override_dh_clean:
 	rm -rf ThirdPartyDownloads
 	dh_clean
 
-override_dh_auto_install:
+override_dh_auto_install-indep:
         # Move the index of the "orthanc-doc" package from Debian
 	mkdir -p $(DOC_DIR)
 	cp debian/docs/index.html $(DOC_DIR)
@@ -73,8 +73,9 @@ override_dh_auto_install:
 	cp -r Resources/Samples $(DOC_DIR)/Samples
 	cp -r Plugins/Samples $(DOC_DIR)/OrthancPluginSamples
 
-	dh_auto_install
+	dh_auto_install -i
 
+override_dh_auto_install-arch:
         # Move the Orthanc binaries to "/usr/sbin"
 	dh_install Build/Orthanc usr/sbin
 
@@ -82,7 +83,9 @@ override_dh_auto_install:
 	dh_install usr/share/orthanc/plugins/libServeFolders.so.$(UPSTREAM_VERSION) usr/lib/orthanc
 	dh_install usr/share/orthanc/plugins/libModalityWorklists.so.$(UPSTREAM_VERSION) usr/lib/orthanc
 
-override_dh_link:
+	dh_auto_install -a
+
+override_dh_link-arch:
         # Create a link to the shared library of the plugins
 	dh_link usr/lib/orthanc/libServeFolders.so.$(UPSTREAM_VERSION) \
 	        usr/share/orthanc/plugins/libServeFolders.so

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



More information about the debian-med-commit mailing list