From e210e2de4c7e10eaf435a1004f6ba687cd59c591 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Tue, 11 Sep 2012 18:02:40 +0200 Subject: Move man pages to /opt/trinity in koffice on Debian and Ubuntu (cherry picked from commit 296f9a72a15709617cb310ba82d439c0d6ef0719) --- debian/lenny/applications/koffice/debian/rules | 3 +++ debian/squeeze/applications/koffice/debian/rules | 3 +++ ubuntu/maverick/applications/koffice/debian/rules | 3 +++ 3 files changed, 9 insertions(+) diff --git a/debian/lenny/applications/koffice/debian/rules b/debian/lenny/applications/koffice/debian/rules index 1a069fa77..93b117f1d 100755 --- a/debian/lenny/applications/koffice/debian/rules +++ b/debian/lenny/applications/koffice/debian/rules @@ -41,4 +41,7 @@ common-binary-post-install-arch:: usr/share/doc/$$pkg/html; \ fi; \ dh_installmime -p$$pkg; \ + if test -d debian/$$pkg/usr/share/man; then\ + mv debian/$$pkg/usr/share/man debian/$$pkg/opt/trinity/share/; \ + fi; \ done diff --git a/debian/squeeze/applications/koffice/debian/rules b/debian/squeeze/applications/koffice/debian/rules index 705f50a19..c24e29fbc 100755 --- a/debian/squeeze/applications/koffice/debian/rules +++ b/debian/squeeze/applications/koffice/debian/rules @@ -41,4 +41,7 @@ common-binary-post-install-arch:: usr/share/doc/$$pkg/html; \ fi; \ dh_installmime -p$$pkg; \ + if test -d debian/$$pkg/usr/share/man; then\ + mv debian/$$pkg/usr/share/man debian/$$pkg/opt/trinity/share/; \ + fi; \ done diff --git a/ubuntu/maverick/applications/koffice/debian/rules b/ubuntu/maverick/applications/koffice/debian/rules index 705f50a19..c24e29fbc 100755 --- a/ubuntu/maverick/applications/koffice/debian/rules +++ b/ubuntu/maverick/applications/koffice/debian/rules @@ -41,4 +41,7 @@ common-binary-post-install-arch:: usr/share/doc/$$pkg/html; \ fi; \ dh_installmime -p$$pkg; \ + if test -d debian/$$pkg/usr/share/man; then\ + mv debian/$$pkg/usr/share/man debian/$$pkg/opt/trinity/share/; \ + fi; \ done -- cgit v1.2.3