summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-01-26 20:24:19 +0000
committerCarl Hetherington <cth@carlh.net>2014-01-26 20:24:19 +0000
commit2503e49d93065cd1f3b3c1cbdc1ad1aeb9fffa62 (patch)
tree0c0458b6f62c0e4572a73af0660d819d52aa4e15 /debian/rules
parent779ff4ae4d3a906ae5e7befc3e27666b5f91d3a0 (diff)
Try to allow building of debug .deb packages (optionally).
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules6
1 files changed, 5 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index c0db3f77a..8973231b5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,10 +14,14 @@
override_dh_auto_configure:
LINKFLAGS=$(CDIST_LINKFLAGS) CXXFLAGS="$(CXXFLAGS) $(CDIST_CXXFLAGS)" PKG_CONFIG_PATH=$(CDIST_PKG_CONFIG_PATH) \
- ./waf --nocache configure --prefix=/usr --static
+ ./waf --nocache configure --prefix=/usr --static --enable-debug
override_dh_auto_build:
./waf --nocache build
override_dh_auto_install:
./waf --nocache install --destdir=debian/dcpomatic
+
+.PHONY: override_dh_strip
+override_dh_strip:
+ dh_strip --dbg-package=dcpomatic-dbg