From: František Dvořák Date: Fri, 7 Mar 2014 17:41:31 +0000 (+0100) Subject: Enable debug package for rocci-server. X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=ca6361115f52ecf03b9304787e6d4f0d025a6586;p=rOCCI-packaging.git Enable debug package for rocci-server. --- diff --git a/rocci-server/debian/control b/rocci-server/debian/control index c18a881..913301d 100644 --- a/rocci-server/debian/control +++ b/rocci-server/debian/control @@ -20,3 +20,17 @@ Description: Ruby OCCI Server clouds. The rOCCI-server extends cloud managers, which are not OCCI-compliant natively, with its own OCCI interface. It is based on the rOCCI (Ruby OCCI) Framework. + +Package: rocci-server-dbg +Architecture: any +Depends: + rocci-server (= ${binary:Version}), + ${misc:Depends} +Description: debugging symbols for rocci-server + OCCI (the Open Cloud Computing Interface) is a standard by the Open Grid Forum, + specifying a protocol and API to perform various remote management tasks in + clouds. The rOCCI-server extends cloud managers, which are not OCCI-compliant + natively, with its own OCCI interface. It is based on the rOCCI (Ruby OCCI) + Framework. + . + This package contains the debugging symbols for rocci-server-dbg. diff --git a/rocci-server/debian/rules b/rocci-server/debian/rules index 9f3b843..ba51220 100755 --- a/rocci-server/debian/rules +++ b/rocci-server/debian/rules @@ -15,5 +15,13 @@ build: bundle install --deployment --standalone --without 'test development' dh $@ +override_dh_strip: + dh_strip --dbg-package=$(p_name)-dbg + +override_dh_installdocs: + dh_installdocs --link-doc=$(p_name) + %: dh $@ + +.PHONY: override_dh_strip override_dh_installdocs