Enable debug package for rocci-server.
authorFrantišek Dvořák <valtri@civ.zcu.cz>
Fri, 7 Mar 2014 17:41:31 +0000 (18:41 +0100)
committerFrantišek Dvořák <valtri@civ.zcu.cz>
Fri, 7 Mar 2014 17:41:31 +0000 (18:41 +0100)
rocci-server/debian/control
rocci-server/debian/rules

index c18a881..913301d 100644 (file)
@@ -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.
index 9f3b843..ba51220 100755 (executable)
@@ -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