tags 806034 + patch
thanks

Hi,

Here's a patch that fixes the issue.

Thanks!

-- 
Etienne Millon
>From b9b2535610ffeef7958dea212806b1dbca31e1bb Mon Sep 17 00:00:00 2001
From: Etienne Millon <[email protected]>
Date: Mon, 2 May 2016 21:47:59 +0200
Subject: [PATCH] create doc directory if it does not exist

---
 debian/changelog | 6 ++++++
 debian/rules     | 2 ++
 2 files changed, 8 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 8d66496..785e406 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+gmpc (11.8.16-10) UNRELEASED; urgency=medium
+
+  * Fix FTBFS when built with dpkg-buildpackage -A (Closes: #806034)
+
+ -- Etienne Millon <[email protected]>  Tue, 03 May 2016 00:01:38 +0200
+
 gmpc (11.8.16-9) unstable; urgency=medium
 
   * Fix building with a recent vala (Closes: #739030)
diff --git a/debian/rules b/debian/rules
index 753c487..771574a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -20,8 +20,10 @@ override_dh_install:
 override_dh_installdocs:
 	dh_installdocs
 	make -C doc/Mallard DESTDIR=debian/tmp/usr install
+	mkdir -p debian/gmpc-dev/usr/share/doc
 	rm -rf debian/gmpc-dev/usr/share/doc/gmpc-dev
 	ln -sf gmpc debian/gmpc-dev/usr/share/doc/gmpc-dev
+	mkdir -p debian/gmpc-dbg/usr/share/doc
 	rm -rf debian/gmpc-dbg/usr/share/doc/gmpc-dbg
 	ln -sf gmpc debian/gmpc-dbg/usr/share/doc/gmpc-dbg
 
-- 
2.8.1

Reply via email to