]> git.proxmox.com Git - pve-cluster.git/commitdiff
enable debug package for pve-cluster
authorStefan Priebe <s.priebe@profihost.ag>
Mon, 9 Feb 2015 14:05:50 +0000 (15:05 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Mon, 9 Feb 2015 15:45:25 +0000 (16:45 +0100)
Signed-off-by: Stefan Priebe <s.priebe@profihost.ag>
debian/control
debian/rules

index b4375a608a19bdf0a70b0cc2bcefdc4ecb9eb39d..1be793a27255ff86714a87c91bbe42937f8fc205 100644 (file)
@@ -12,3 +12,8 @@ Description: Cluster Infrastructure for Proxmox Virtual Environment
  This package contains the Cluster Infrastructure for the Proxmox
  Virtual Environment, namely a distributed filesystem to store
  configuration data on all nodes.
+
+Package: pve-cluster-dbg
+Architecture: any
+Description: debug Cluster Infrastructure for Proxmox Virtual Environment
+
index a433c17d5c5909bb1393c9866d1c409fa53aa7c7..8cae8e75ce53f69a71e6b4b8c25826926a1b6a53 100755 (executable)
@@ -12,6 +12,8 @@ BUILDROOT := $(shell pwd)
 %:
        dh $@
 
+override_dh_strip:
+       dh_strip --dbg-package=pve-cluster-dbg
 
 override_dh_auto_configure:
 
@@ -19,6 +21,10 @@ override_dh_auto_configure:
 
        ./configure --prefix=/usr
 
+override_dh_auto_install:
+
+       make -j1 install DESTDIR=../debian/pve-cluster
+
 override_dh_install:
 
        dh_install