summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2015-04-05 08:49:36 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2015-04-05 08:49:36 +0200
commit163ce2a0caf0cef5352a6299c40239c57480740e (patch)
tree144c7eff41c6d77500c44203831b0024738924bd /debian/rules
parented257925f271e8e729d425f2246015cb1cd591a8 (diff)
Add better debuging
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules13
1 files changed, 12 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index 1d42699..460f96d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,10 +8,21 @@ export VALAFLAGS:=$(foreach w,$(CPPFLAGS) $(CFLAGS) $(LDFLAGS),-X $(w))
dh $@
override_dh_auto_configure:
- ./configure --prefix=/usr --libexec=/usr/lib --disable-schemas-compile
+ ./configure --prefix=/usr --libexec=/usr/lib --disable-schemas-compile --debug
+
+override_dh_install:
+ dh_install
+ mkdir -p debian/shotwell-dbg/usr/share/doc/shotwell-dbg/temp-source
+ find -type f -name '*.c' -exec cp --parent '{}' debian/shotwell-dbg/usr/share/doc/shotwell-dbg/temp-source/ ';'
+ cd debian/shotwell-dbg/usr/share/doc/shotwell-dbg && \
+ tar cJf temp-source.tar.xz temp-source
+ rm -fr debian/shotwell-dbg/usr/share/doc/shotwell-dbg/temp-source
override_dh_installchangelogs:
dh_installchangelogs NEWS
override_dh_strip:
dh_strip --dbg-package=shotwell-dbg
+
+override_dh_compress:
+ dh_compress -X.tar.xz