From 260bfe4337a99cbaf4a14c44e170f07083a7d97c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= <slavek.banko@axis.cz>
Date: Fri, 17 Jan 2014 16:33:06 +0100
Subject: Fix kdiff3 FTBFS on Debian and Ubuntu

---
 debian/lenny/applications/kdiff3/debian/compat     |  2 +-
 .../kdiff3/debian/kdiff3-trinity-doc.doc-base      |  6 +++---
 .../kdiff3/debian/kdiff3-trinity-doc.install       |  2 +-
 .../kdiff3/debian/kdiff3-trinity-doc.links         | 24 +++++++++++-----------
 debian/lenny/applications/kdiff3/debian/rules      |  8 ++++----
 debian/squeeze/applications/kdiff3/debian/compat   |  2 +-
 .../kdiff3/debian/kdiff3-trinity-doc.doc-base      |  6 +++---
 .../kdiff3/debian/kdiff3-trinity-doc.install       |  2 +-
 .../kdiff3/debian/kdiff3-trinity-doc.links         | 24 +++++++++++-----------
 debian/squeeze/applications/kdiff3/debian/rules    |  8 ++++----
 debian/wheezy/applications/kdiff3/debian/compat    |  2 +-
 .../kdiff3/debian/kdiff3-trinity-doc.doc-base      |  6 +++---
 .../kdiff3/debian/kdiff3-trinity-doc.install       |  2 +-
 .../kdiff3/debian/kdiff3-trinity-doc.links         | 24 +++++++++++-----------
 debian/wheezy/applications/kdiff3/debian/rules     |  8 ++++----
 ubuntu/maverick/applications/kdiff3/debian/compat  |  2 +-
 .../kdiff3/debian/kdiff3-trinity-doc.doc-base      |  6 +++---
 .../kdiff3/debian/kdiff3-trinity-doc.install       |  2 +-
 .../kdiff3/debian/kdiff3-trinity-doc.links         | 24 +++++++++++-----------
 ubuntu/maverick/applications/kdiff3/debian/rules   |  8 ++++----
 ubuntu/precise/applications/kdiff3/debian/compat   |  2 +-
 .../kdiff3/debian/kdiff3-trinity-doc.doc-base      |  6 +++---
 .../kdiff3/debian/kdiff3-trinity-doc.install       |  2 +-
 .../kdiff3/debian/kdiff3-trinity-doc.links         | 24 +++++++++++-----------
 ubuntu/precise/applications/kdiff3/debian/rules    |  8 ++++----
 ubuntu/raring/applications/kdiff3/debian/compat    |  2 +-
 .../kdiff3/debian/kdiff3-trinity-doc.doc-base      |  6 +++---
 .../kdiff3/debian/kdiff3-trinity-doc.install       |  2 +-
 .../kdiff3/debian/kdiff3-trinity-doc.links         | 24 +++++++++++-----------
 ubuntu/raring/applications/kdiff3/debian/rules     |  8 ++++----
 30 files changed, 126 insertions(+), 126 deletions(-)

diff --git a/debian/lenny/applications/kdiff3/debian/compat b/debian/lenny/applications/kdiff3/debian/compat
index b8626c4cf..7ed6ff82d 100644
--- a/debian/lenny/applications/kdiff3/debian/compat
+++ b/debian/lenny/applications/kdiff3/debian/compat
@@ -1 +1 @@
-4
+5
diff --git a/debian/lenny/applications/kdiff3/debian/kdiff3-trinity-doc.doc-base b/debian/lenny/applications/kdiff3/debian/kdiff3-trinity-doc.doc-base
index 014004a26..f72b088e4 100644
--- a/debian/lenny/applications/kdiff3/debian/kdiff3-trinity-doc.doc-base
+++ b/debian/lenny/applications/kdiff3/debian/kdiff3-trinity-doc.doc-base
@@ -1,4 +1,4 @@
-Document: kdiff3
+Document: kdiff3-trinity
 Title: KDiff3 Handbook
 Author: Joachim Eibl <joachim.eibl@gmx.de>
 Abstract:  The manual for KDiff3. KDiff3 compares two or three input files 
@@ -9,5 +9,5 @@ Abstract:  The manual for KDiff3. KDiff3 compares two or three input files
 Section: Apps/Programming
 
 Format: HTML
-Index: /usr/share/doc/kdiff3-doc/html/index.html
-Files: /usr/share/doc/kdiff3-doc/html/*.html
+Index: /opt/trinity/share/doc/kdiff3/html/index.html
+Files: /opt/trinity/share/doc/kdiff3/html/*.html
diff --git a/debian/lenny/applications/kdiff3/debian/kdiff3-trinity-doc.install b/debian/lenny/applications/kdiff3/debian/kdiff3-trinity-doc.install
index 6d9c9dd9a..5184aa633 100644
--- a/debian/lenny/applications/kdiff3/debian/kdiff3-trinity-doc.install
+++ b/debian/lenny/applications/kdiff3/debian/kdiff3-trinity-doc.install
@@ -1,2 +1,2 @@
 /opt/trinity/share/doc/tde
-/opt/trinity/share/doc/kdiff3-doc/html
+/opt/trinity/share/doc/kdiff3/html
diff --git a/debian/lenny/applications/kdiff3/debian/kdiff3-trinity-doc.links b/debian/lenny/applications/kdiff3/debian/kdiff3-trinity-doc.links
index e3fbe7781..8d3a5bde5 100644
--- a/debian/lenny/applications/kdiff3/debian/kdiff3-trinity-doc.links
+++ b/debian/lenny/applications/kdiff3/debian/kdiff3-trinity-doc.links
@@ -83,15 +83,15 @@
 /opt/trinity/share/doc/tde/HTML/en/kdiff3/white_space.png		/opt/trinity/share/doc/tde/HTML/sv/kdiff3/white_space.png
 
 
-/opt/trinity/share/doc/tde/HTML/en/common						/opt/trinity/share/doc/kdiff3-doc/html/common
-/opt/trinity/share/doc/tde/HTML/en/kdiff3/dirbrowser.png			/opt/trinity/share/doc/kdiff3-doc/html/dirbrowser.png
-/opt/trinity/share/doc/tde/HTML/en/kdiff3/dirmergebig.png		/opt/trinity/share/doc/kdiff3-doc/html/dirmergebig.png
-/opt/trinity/share/doc/tde/HTML/en/kdiff3/iteminfo.png			/opt/trinity/share/doc/kdiff3-doc/html/iteminfo.png
-/opt/trinity/share/doc/tde/HTML/en/kdiff3/letter_by_letter.png	/opt/trinity/share/doc/kdiff3-doc/html/letter_by_letter.png
-/opt/trinity/share/doc/tde/HTML/en/kdiff3/merge_current.png		/opt/trinity/share/doc/kdiff3-doc/html/merge_current.png
-/opt/trinity/share/doc/tde/HTML/en/kdiff3/new.png				/opt/trinity/share/doc/kdiff3-doc/html/new.png
-/opt/trinity/share/doc/tde/HTML/en/kdiff3/open_dialog.png		/opt/trinity/share/doc/kdiff3-doc/html/open_dialog.png
-/opt/trinity/share/doc/tde/HTML/en/kdiff3/screenshot_diff.png	/opt/trinity/share/doc/kdiff3-doc/html/screenshot_diff.png
-/opt/trinity/share/doc/tde/HTML/en/kdiff3/screenshot_merge.png	/opt/trinity/share/doc/kdiff3-doc/html/screenshot_merge.png
-/opt/trinity/share/doc/tde/HTML/en/kdiff3/triple_diff.png		/opt/trinity/share/doc/kdiff3-doc/html/triple_diff.png
-/opt/trinity/share/doc/tde/HTML/en/kdiff3/white_space.png		/opt/trinity/share/doc/kdiff3-doc/html/white_space.png
+/opt/trinity/share/doc/tde/HTML/en/common						/opt/trinity/share/doc/kdiff3/html/common
+/opt/trinity/share/doc/tde/HTML/en/kdiff3/dirbrowser.png			/opt/trinity/share/doc/kdiff3/html/dirbrowser.png
+/opt/trinity/share/doc/tde/HTML/en/kdiff3/dirmergebig.png		/opt/trinity/share/doc/kdiff3/html/dirmergebig.png
+/opt/trinity/share/doc/tde/HTML/en/kdiff3/iteminfo.png			/opt/trinity/share/doc/kdiff3/html/iteminfo.png
+/opt/trinity/share/doc/tde/HTML/en/kdiff3/letter_by_letter.png	/opt/trinity/share/doc/kdiff3/html/letter_by_letter.png
+/opt/trinity/share/doc/tde/HTML/en/kdiff3/merge_current.png		/opt/trinity/share/doc/kdiff3/html/merge_current.png
+/opt/trinity/share/doc/tde/HTML/en/kdiff3/new.png				/opt/trinity/share/doc/kdiff3/html/new.png
+/opt/trinity/share/doc/tde/HTML/en/kdiff3/open_dialog.png		/opt/trinity/share/doc/kdiff3/html/open_dialog.png
+/opt/trinity/share/doc/tde/HTML/en/kdiff3/screenshot_diff.png	/opt/trinity/share/doc/kdiff3/html/screenshot_diff.png
+/opt/trinity/share/doc/tde/HTML/en/kdiff3/screenshot_merge.png	/opt/trinity/share/doc/kdiff3/html/screenshot_merge.png
+/opt/trinity/share/doc/tde/HTML/en/kdiff3/triple_diff.png		/opt/trinity/share/doc/kdiff3/html/triple_diff.png
+/opt/trinity/share/doc/tde/HTML/en/kdiff3/white_space.png		/opt/trinity/share/doc/kdiff3/html/white_space.png
diff --git a/debian/lenny/applications/kdiff3/debian/rules b/debian/lenny/applications/kdiff3/debian/rules
index 19ea44a07..2ab87b0e9 100755
--- a/debian/lenny/applications/kdiff3/debian/rules
+++ b/debian/lenny/applications/kdiff3/debian/rules
@@ -74,14 +74,14 @@ install: build
 	dh_clean -k
 	dh_installdirs
 
-	$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp \
-		kde_htmldir=/opt/trinity/share/doc/tde/HTML
+	$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
 	rm -rf $(CURDIR)/debian/tmp/opt/trinity/share/doc/tde/HTML/kdiff3
 	# that's not where we want to have a man page
 	rm -rf $(CURDIR)/debian/tmp/opt/trinity/share/doc/tde/HTML/en/kdiff3/kdiff3.1
 	# move HTML help /opt/trinity/share/doc/kdiff3/html/
-	mkdir --parents $(CURDIR)/debian/tmp/opt/trinity/share/doc/kdiff3-doc/html/
-	mv $(CURDIR)/debian/tmp/opt/trinity/share/doc/tde/HTML/en/kdiff3/*.html $(CURDIR)/debian/tmp/opt/trinity/share/doc/kdiff3-doc/html/
+	mkdir --parents $(CURDIR)/debian/tmp/opt/trinity/share/doc/kdiff3/html/
+	mv $(CURDIR)/debian/tmp/opt/trinity/share/apps/kdiff3/doc/*.html $(CURDIR)/debian/tmp/opt/trinity/share/doc/kdiff3/html/
+	rmdir $(CURDIR)/debian/tmp/opt/trinity/share/apps/kdiff3/doc
 	# move kdiff3.desktop to freedesktop.org conforming place
 	mkdir --parents $(CURDIR)/debian/tmp/opt/trinity/share/applications/tde/
 	mv $(CURDIR)/debian/tmp/opt/trinity/share/applnk/Development/kdiff3.desktop $(CURDIR)/debian/tmp/opt/trinity/share/applications/tde/
diff --git a/debian/squeeze/applications/kdiff3/debian/compat b/debian/squeeze/applications/kdiff3/debian/compat
index b8626c4cf..7ed6ff82d 100644
--- a/debian/squeeze/applications/kdiff3/debian/compat
+++ b/debian/squeeze/applications/kdiff3/debian/compat
@@ -1 +1 @@
-4
+5
diff --git a/debian/squeeze/applications/kdiff3/debian/kdiff3-trinity-doc.doc-base b/debian/squeeze/applications/kdiff3/debian/kdiff3-trinity-doc.doc-base
index 014004a26..f72b088e4 100644
--- a/debian/squeeze/applications/kdiff3/debian/kdiff3-trinity-doc.doc-base
+++ b/debian/squeeze/applications/kdiff3/debian/kdiff3-trinity-doc.doc-base
@@ -1,4 +1,4 @@
-Document: kdiff3
+Document: kdiff3-trinity
 Title: KDiff3 Handbook
 Author: Joachim Eibl <joachim.eibl@gmx.de>
 Abstract:  The manual for KDiff3. KDiff3 compares two or three input files 
@@ -9,5 +9,5 @@ Abstract:  The manual for KDiff3. KDiff3 compares two or three input files
 Section: Apps/Programming
 
 Format: HTML
-Index: /usr/share/doc/kdiff3-doc/html/index.html
-Files: /usr/share/doc/kdiff3-doc/html/*.html
+Index: /opt/trinity/share/doc/kdiff3/html/index.html
+Files: /opt/trinity/share/doc/kdiff3/html/*.html
diff --git a/debian/squeeze/applications/kdiff3/debian/kdiff3-trinity-doc.install b/debian/squeeze/applications/kdiff3/debian/kdiff3-trinity-doc.install
index 6d9c9dd9a..5184aa633 100644
--- a/debian/squeeze/applications/kdiff3/debian/kdiff3-trinity-doc.install
+++ b/debian/squeeze/applications/kdiff3/debian/kdiff3-trinity-doc.install
@@ -1,2 +1,2 @@
 /opt/trinity/share/doc/tde
-/opt/trinity/share/doc/kdiff3-doc/html
+/opt/trinity/share/doc/kdiff3/html
diff --git a/debian/squeeze/applications/kdiff3/debian/kdiff3-trinity-doc.links b/debian/squeeze/applications/kdiff3/debian/kdiff3-trinity-doc.links
index e3fbe7781..8d3a5bde5 100644
--- a/debian/squeeze/applications/kdiff3/debian/kdiff3-trinity-doc.links
+++ b/debian/squeeze/applications/kdiff3/debian/kdiff3-trinity-doc.links
@@ -83,15 +83,15 @@
 /opt/trinity/share/doc/tde/HTML/en/kdiff3/white_space.png		/opt/trinity/share/doc/tde/HTML/sv/kdiff3/white_space.png
 
 
-/opt/trinity/share/doc/tde/HTML/en/common						/opt/trinity/share/doc/kdiff3-doc/html/common
-/opt/trinity/share/doc/tde/HTML/en/kdiff3/dirbrowser.png			/opt/trinity/share/doc/kdiff3-doc/html/dirbrowser.png
-/opt/trinity/share/doc/tde/HTML/en/kdiff3/dirmergebig.png		/opt/trinity/share/doc/kdiff3-doc/html/dirmergebig.png
-/opt/trinity/share/doc/tde/HTML/en/kdiff3/iteminfo.png			/opt/trinity/share/doc/kdiff3-doc/html/iteminfo.png
-/opt/trinity/share/doc/tde/HTML/en/kdiff3/letter_by_letter.png	/opt/trinity/share/doc/kdiff3-doc/html/letter_by_letter.png
-/opt/trinity/share/doc/tde/HTML/en/kdiff3/merge_current.png		/opt/trinity/share/doc/kdiff3-doc/html/merge_current.png
-/opt/trinity/share/doc/tde/HTML/en/kdiff3/new.png				/opt/trinity/share/doc/kdiff3-doc/html/new.png
-/opt/trinity/share/doc/tde/HTML/en/kdiff3/open_dialog.png		/opt/trinity/share/doc/kdiff3-doc/html/open_dialog.png
-/opt/trinity/share/doc/tde/HTML/en/kdiff3/screenshot_diff.png	/opt/trinity/share/doc/kdiff3-doc/html/screenshot_diff.png
-/opt/trinity/share/doc/tde/HTML/en/kdiff3/screenshot_merge.png	/opt/trinity/share/doc/kdiff3-doc/html/screenshot_merge.png
-/opt/trinity/share/doc/tde/HTML/en/kdiff3/triple_diff.png		/opt/trinity/share/doc/kdiff3-doc/html/triple_diff.png
-/opt/trinity/share/doc/tde/HTML/en/kdiff3/white_space.png		/opt/trinity/share/doc/kdiff3-doc/html/white_space.png
+/opt/trinity/share/doc/tde/HTML/en/common						/opt/trinity/share/doc/kdiff3/html/common
+/opt/trinity/share/doc/tde/HTML/en/kdiff3/dirbrowser.png			/opt/trinity/share/doc/kdiff3/html/dirbrowser.png
+/opt/trinity/share/doc/tde/HTML/en/kdiff3/dirmergebig.png		/opt/trinity/share/doc/kdiff3/html/dirmergebig.png
+/opt/trinity/share/doc/tde/HTML/en/kdiff3/iteminfo.png			/opt/trinity/share/doc/kdiff3/html/iteminfo.png
+/opt/trinity/share/doc/tde/HTML/en/kdiff3/letter_by_letter.png	/opt/trinity/share/doc/kdiff3/html/letter_by_letter.png
+/opt/trinity/share/doc/tde/HTML/en/kdiff3/merge_current.png		/opt/trinity/share/doc/kdiff3/html/merge_current.png
+/opt/trinity/share/doc/tde/HTML/en/kdiff3/new.png				/opt/trinity/share/doc/kdiff3/html/new.png
+/opt/trinity/share/doc/tde/HTML/en/kdiff3/open_dialog.png		/opt/trinity/share/doc/kdiff3/html/open_dialog.png
+/opt/trinity/share/doc/tde/HTML/en/kdiff3/screenshot_diff.png	/opt/trinity/share/doc/kdiff3/html/screenshot_diff.png
+/opt/trinity/share/doc/tde/HTML/en/kdiff3/screenshot_merge.png	/opt/trinity/share/doc/kdiff3/html/screenshot_merge.png
+/opt/trinity/share/doc/tde/HTML/en/kdiff3/triple_diff.png		/opt/trinity/share/doc/kdiff3/html/triple_diff.png
+/opt/trinity/share/doc/tde/HTML/en/kdiff3/white_space.png		/opt/trinity/share/doc/kdiff3/html/white_space.png
diff --git a/debian/squeeze/applications/kdiff3/debian/rules b/debian/squeeze/applications/kdiff3/debian/rules
index 19ea44a07..2ab87b0e9 100755
--- a/debian/squeeze/applications/kdiff3/debian/rules
+++ b/debian/squeeze/applications/kdiff3/debian/rules
@@ -74,14 +74,14 @@ install: build
 	dh_clean -k
 	dh_installdirs
 
-	$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp \
-		kde_htmldir=/opt/trinity/share/doc/tde/HTML
+	$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
 	rm -rf $(CURDIR)/debian/tmp/opt/trinity/share/doc/tde/HTML/kdiff3
 	# that's not where we want to have a man page
 	rm -rf $(CURDIR)/debian/tmp/opt/trinity/share/doc/tde/HTML/en/kdiff3/kdiff3.1
 	# move HTML help /opt/trinity/share/doc/kdiff3/html/
-	mkdir --parents $(CURDIR)/debian/tmp/opt/trinity/share/doc/kdiff3-doc/html/
-	mv $(CURDIR)/debian/tmp/opt/trinity/share/doc/tde/HTML/en/kdiff3/*.html $(CURDIR)/debian/tmp/opt/trinity/share/doc/kdiff3-doc/html/
+	mkdir --parents $(CURDIR)/debian/tmp/opt/trinity/share/doc/kdiff3/html/
+	mv $(CURDIR)/debian/tmp/opt/trinity/share/apps/kdiff3/doc/*.html $(CURDIR)/debian/tmp/opt/trinity/share/doc/kdiff3/html/
+	rmdir $(CURDIR)/debian/tmp/opt/trinity/share/apps/kdiff3/doc
 	# move kdiff3.desktop to freedesktop.org conforming place
 	mkdir --parents $(CURDIR)/debian/tmp/opt/trinity/share/applications/tde/
 	mv $(CURDIR)/debian/tmp/opt/trinity/share/applnk/Development/kdiff3.desktop $(CURDIR)/debian/tmp/opt/trinity/share/applications/tde/
diff --git a/debian/wheezy/applications/kdiff3/debian/compat b/debian/wheezy/applications/kdiff3/debian/compat
index b8626c4cf..7ed6ff82d 100644
--- a/debian/wheezy/applications/kdiff3/debian/compat
+++ b/debian/wheezy/applications/kdiff3/debian/compat
@@ -1 +1 @@
-4
+5
diff --git a/debian/wheezy/applications/kdiff3/debian/kdiff3-trinity-doc.doc-base b/debian/wheezy/applications/kdiff3/debian/kdiff3-trinity-doc.doc-base
index 014004a26..f72b088e4 100644
--- a/debian/wheezy/applications/kdiff3/debian/kdiff3-trinity-doc.doc-base
+++ b/debian/wheezy/applications/kdiff3/debian/kdiff3-trinity-doc.doc-base
@@ -1,4 +1,4 @@
-Document: kdiff3
+Document: kdiff3-trinity
 Title: KDiff3 Handbook
 Author: Joachim Eibl <joachim.eibl@gmx.de>
 Abstract:  The manual for KDiff3. KDiff3 compares two or three input files 
@@ -9,5 +9,5 @@ Abstract:  The manual for KDiff3. KDiff3 compares two or three input files
 Section: Apps/Programming
 
 Format: HTML
-Index: /usr/share/doc/kdiff3-doc/html/index.html
-Files: /usr/share/doc/kdiff3-doc/html/*.html
+Index: /opt/trinity/share/doc/kdiff3/html/index.html
+Files: /opt/trinity/share/doc/kdiff3/html/*.html
diff --git a/debian/wheezy/applications/kdiff3/debian/kdiff3-trinity-doc.install b/debian/wheezy/applications/kdiff3/debian/kdiff3-trinity-doc.install
index 6d9c9dd9a..5184aa633 100644
--- a/debian/wheezy/applications/kdiff3/debian/kdiff3-trinity-doc.install
+++ b/debian/wheezy/applications/kdiff3/debian/kdiff3-trinity-doc.install
@@ -1,2 +1,2 @@
 /opt/trinity/share/doc/tde
-/opt/trinity/share/doc/kdiff3-doc/html
+/opt/trinity/share/doc/kdiff3/html
diff --git a/debian/wheezy/applications/kdiff3/debian/kdiff3-trinity-doc.links b/debian/wheezy/applications/kdiff3/debian/kdiff3-trinity-doc.links
index e3fbe7781..8d3a5bde5 100644
--- a/debian/wheezy/applications/kdiff3/debian/kdiff3-trinity-doc.links
+++ b/debian/wheezy/applications/kdiff3/debian/kdiff3-trinity-doc.links
@@ -83,15 +83,15 @@
 /opt/trinity/share/doc/tde/HTML/en/kdiff3/white_space.png		/opt/trinity/share/doc/tde/HTML/sv/kdiff3/white_space.png
 
 
-/opt/trinity/share/doc/tde/HTML/en/common						/opt/trinity/share/doc/kdiff3-doc/html/common
-/opt/trinity/share/doc/tde/HTML/en/kdiff3/dirbrowser.png			/opt/trinity/share/doc/kdiff3-doc/html/dirbrowser.png
-/opt/trinity/share/doc/tde/HTML/en/kdiff3/dirmergebig.png		/opt/trinity/share/doc/kdiff3-doc/html/dirmergebig.png
-/opt/trinity/share/doc/tde/HTML/en/kdiff3/iteminfo.png			/opt/trinity/share/doc/kdiff3-doc/html/iteminfo.png
-/opt/trinity/share/doc/tde/HTML/en/kdiff3/letter_by_letter.png	/opt/trinity/share/doc/kdiff3-doc/html/letter_by_letter.png
-/opt/trinity/share/doc/tde/HTML/en/kdiff3/merge_current.png		/opt/trinity/share/doc/kdiff3-doc/html/merge_current.png
-/opt/trinity/share/doc/tde/HTML/en/kdiff3/new.png				/opt/trinity/share/doc/kdiff3-doc/html/new.png
-/opt/trinity/share/doc/tde/HTML/en/kdiff3/open_dialog.png		/opt/trinity/share/doc/kdiff3-doc/html/open_dialog.png
-/opt/trinity/share/doc/tde/HTML/en/kdiff3/screenshot_diff.png	/opt/trinity/share/doc/kdiff3-doc/html/screenshot_diff.png
-/opt/trinity/share/doc/tde/HTML/en/kdiff3/screenshot_merge.png	/opt/trinity/share/doc/kdiff3-doc/html/screenshot_merge.png
-/opt/trinity/share/doc/tde/HTML/en/kdiff3/triple_diff.png		/opt/trinity/share/doc/kdiff3-doc/html/triple_diff.png
-/opt/trinity/share/doc/tde/HTML/en/kdiff3/white_space.png		/opt/trinity/share/doc/kdiff3-doc/html/white_space.png
+/opt/trinity/share/doc/tde/HTML/en/common						/opt/trinity/share/doc/kdiff3/html/common
+/opt/trinity/share/doc/tde/HTML/en/kdiff3/dirbrowser.png			/opt/trinity/share/doc/kdiff3/html/dirbrowser.png
+/opt/trinity/share/doc/tde/HTML/en/kdiff3/dirmergebig.png		/opt/trinity/share/doc/kdiff3/html/dirmergebig.png
+/opt/trinity/share/doc/tde/HTML/en/kdiff3/iteminfo.png			/opt/trinity/share/doc/kdiff3/html/iteminfo.png
+/opt/trinity/share/doc/tde/HTML/en/kdiff3/letter_by_letter.png	/opt/trinity/share/doc/kdiff3/html/letter_by_letter.png
+/opt/trinity/share/doc/tde/HTML/en/kdiff3/merge_current.png		/opt/trinity/share/doc/kdiff3/html/merge_current.png
+/opt/trinity/share/doc/tde/HTML/en/kdiff3/new.png				/opt/trinity/share/doc/kdiff3/html/new.png
+/opt/trinity/share/doc/tde/HTML/en/kdiff3/open_dialog.png		/opt/trinity/share/doc/kdiff3/html/open_dialog.png
+/opt/trinity/share/doc/tde/HTML/en/kdiff3/screenshot_diff.png	/opt/trinity/share/doc/kdiff3/html/screenshot_diff.png
+/opt/trinity/share/doc/tde/HTML/en/kdiff3/screenshot_merge.png	/opt/trinity/share/doc/kdiff3/html/screenshot_merge.png
+/opt/trinity/share/doc/tde/HTML/en/kdiff3/triple_diff.png		/opt/trinity/share/doc/kdiff3/html/triple_diff.png
+/opt/trinity/share/doc/tde/HTML/en/kdiff3/white_space.png		/opt/trinity/share/doc/kdiff3/html/white_space.png
diff --git a/debian/wheezy/applications/kdiff3/debian/rules b/debian/wheezy/applications/kdiff3/debian/rules
index 19ea44a07..2ab87b0e9 100755
--- a/debian/wheezy/applications/kdiff3/debian/rules
+++ b/debian/wheezy/applications/kdiff3/debian/rules
@@ -74,14 +74,14 @@ install: build
 	dh_clean -k
 	dh_installdirs
 
-	$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp \
-		kde_htmldir=/opt/trinity/share/doc/tde/HTML
+	$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
 	rm -rf $(CURDIR)/debian/tmp/opt/trinity/share/doc/tde/HTML/kdiff3
 	# that's not where we want to have a man page
 	rm -rf $(CURDIR)/debian/tmp/opt/trinity/share/doc/tde/HTML/en/kdiff3/kdiff3.1
 	# move HTML help /opt/trinity/share/doc/kdiff3/html/
-	mkdir --parents $(CURDIR)/debian/tmp/opt/trinity/share/doc/kdiff3-doc/html/
-	mv $(CURDIR)/debian/tmp/opt/trinity/share/doc/tde/HTML/en/kdiff3/*.html $(CURDIR)/debian/tmp/opt/trinity/share/doc/kdiff3-doc/html/
+	mkdir --parents $(CURDIR)/debian/tmp/opt/trinity/share/doc/kdiff3/html/
+	mv $(CURDIR)/debian/tmp/opt/trinity/share/apps/kdiff3/doc/*.html $(CURDIR)/debian/tmp/opt/trinity/share/doc/kdiff3/html/
+	rmdir $(CURDIR)/debian/tmp/opt/trinity/share/apps/kdiff3/doc
 	# move kdiff3.desktop to freedesktop.org conforming place
 	mkdir --parents $(CURDIR)/debian/tmp/opt/trinity/share/applications/tde/
 	mv $(CURDIR)/debian/tmp/opt/trinity/share/applnk/Development/kdiff3.desktop $(CURDIR)/debian/tmp/opt/trinity/share/applications/tde/
diff --git a/ubuntu/maverick/applications/kdiff3/debian/compat b/ubuntu/maverick/applications/kdiff3/debian/compat
index b8626c4cf..7ed6ff82d 100644
--- a/ubuntu/maverick/applications/kdiff3/debian/compat
+++ b/ubuntu/maverick/applications/kdiff3/debian/compat
@@ -1 +1 @@
-4
+5
diff --git a/ubuntu/maverick/applications/kdiff3/debian/kdiff3-trinity-doc.doc-base b/ubuntu/maverick/applications/kdiff3/debian/kdiff3-trinity-doc.doc-base
index 014004a26..f72b088e4 100644
--- a/ubuntu/maverick/applications/kdiff3/debian/kdiff3-trinity-doc.doc-base
+++ b/ubuntu/maverick/applications/kdiff3/debian/kdiff3-trinity-doc.doc-base
@@ -1,4 +1,4 @@
-Document: kdiff3
+Document: kdiff3-trinity
 Title: KDiff3 Handbook
 Author: Joachim Eibl <joachim.eibl@gmx.de>
 Abstract:  The manual for KDiff3. KDiff3 compares two or three input files 
@@ -9,5 +9,5 @@ Abstract:  The manual for KDiff3. KDiff3 compares two or three input files
 Section: Apps/Programming
 
 Format: HTML
-Index: /usr/share/doc/kdiff3-doc/html/index.html
-Files: /usr/share/doc/kdiff3-doc/html/*.html
+Index: /opt/trinity/share/doc/kdiff3/html/index.html
+Files: /opt/trinity/share/doc/kdiff3/html/*.html
diff --git a/ubuntu/maverick/applications/kdiff3/debian/kdiff3-trinity-doc.install b/ubuntu/maverick/applications/kdiff3/debian/kdiff3-trinity-doc.install
index 6d9c9dd9a..5184aa633 100644
--- a/ubuntu/maverick/applications/kdiff3/debian/kdiff3-trinity-doc.install
+++ b/ubuntu/maverick/applications/kdiff3/debian/kdiff3-trinity-doc.install
@@ -1,2 +1,2 @@
 /opt/trinity/share/doc/tde
-/opt/trinity/share/doc/kdiff3-doc/html
+/opt/trinity/share/doc/kdiff3/html
diff --git a/ubuntu/maverick/applications/kdiff3/debian/kdiff3-trinity-doc.links b/ubuntu/maverick/applications/kdiff3/debian/kdiff3-trinity-doc.links
index e3fbe7781..8d3a5bde5 100644
--- a/ubuntu/maverick/applications/kdiff3/debian/kdiff3-trinity-doc.links
+++ b/ubuntu/maverick/applications/kdiff3/debian/kdiff3-trinity-doc.links
@@ -83,15 +83,15 @@
 /opt/trinity/share/doc/tde/HTML/en/kdiff3/white_space.png		/opt/trinity/share/doc/tde/HTML/sv/kdiff3/white_space.png
 
 
-/opt/trinity/share/doc/tde/HTML/en/common						/opt/trinity/share/doc/kdiff3-doc/html/common
-/opt/trinity/share/doc/tde/HTML/en/kdiff3/dirbrowser.png			/opt/trinity/share/doc/kdiff3-doc/html/dirbrowser.png
-/opt/trinity/share/doc/tde/HTML/en/kdiff3/dirmergebig.png		/opt/trinity/share/doc/kdiff3-doc/html/dirmergebig.png
-/opt/trinity/share/doc/tde/HTML/en/kdiff3/iteminfo.png			/opt/trinity/share/doc/kdiff3-doc/html/iteminfo.png
-/opt/trinity/share/doc/tde/HTML/en/kdiff3/letter_by_letter.png	/opt/trinity/share/doc/kdiff3-doc/html/letter_by_letter.png
-/opt/trinity/share/doc/tde/HTML/en/kdiff3/merge_current.png		/opt/trinity/share/doc/kdiff3-doc/html/merge_current.png
-/opt/trinity/share/doc/tde/HTML/en/kdiff3/new.png				/opt/trinity/share/doc/kdiff3-doc/html/new.png
-/opt/trinity/share/doc/tde/HTML/en/kdiff3/open_dialog.png		/opt/trinity/share/doc/kdiff3-doc/html/open_dialog.png
-/opt/trinity/share/doc/tde/HTML/en/kdiff3/screenshot_diff.png	/opt/trinity/share/doc/kdiff3-doc/html/screenshot_diff.png
-/opt/trinity/share/doc/tde/HTML/en/kdiff3/screenshot_merge.png	/opt/trinity/share/doc/kdiff3-doc/html/screenshot_merge.png
-/opt/trinity/share/doc/tde/HTML/en/kdiff3/triple_diff.png		/opt/trinity/share/doc/kdiff3-doc/html/triple_diff.png
-/opt/trinity/share/doc/tde/HTML/en/kdiff3/white_space.png		/opt/trinity/share/doc/kdiff3-doc/html/white_space.png
+/opt/trinity/share/doc/tde/HTML/en/common						/opt/trinity/share/doc/kdiff3/html/common
+/opt/trinity/share/doc/tde/HTML/en/kdiff3/dirbrowser.png			/opt/trinity/share/doc/kdiff3/html/dirbrowser.png
+/opt/trinity/share/doc/tde/HTML/en/kdiff3/dirmergebig.png		/opt/trinity/share/doc/kdiff3/html/dirmergebig.png
+/opt/trinity/share/doc/tde/HTML/en/kdiff3/iteminfo.png			/opt/trinity/share/doc/kdiff3/html/iteminfo.png
+/opt/trinity/share/doc/tde/HTML/en/kdiff3/letter_by_letter.png	/opt/trinity/share/doc/kdiff3/html/letter_by_letter.png
+/opt/trinity/share/doc/tde/HTML/en/kdiff3/merge_current.png		/opt/trinity/share/doc/kdiff3/html/merge_current.png
+/opt/trinity/share/doc/tde/HTML/en/kdiff3/new.png				/opt/trinity/share/doc/kdiff3/html/new.png
+/opt/trinity/share/doc/tde/HTML/en/kdiff3/open_dialog.png		/opt/trinity/share/doc/kdiff3/html/open_dialog.png
+/opt/trinity/share/doc/tde/HTML/en/kdiff3/screenshot_diff.png	/opt/trinity/share/doc/kdiff3/html/screenshot_diff.png
+/opt/trinity/share/doc/tde/HTML/en/kdiff3/screenshot_merge.png	/opt/trinity/share/doc/kdiff3/html/screenshot_merge.png
+/opt/trinity/share/doc/tde/HTML/en/kdiff3/triple_diff.png		/opt/trinity/share/doc/kdiff3/html/triple_diff.png
+/opt/trinity/share/doc/tde/HTML/en/kdiff3/white_space.png		/opt/trinity/share/doc/kdiff3/html/white_space.png
diff --git a/ubuntu/maverick/applications/kdiff3/debian/rules b/ubuntu/maverick/applications/kdiff3/debian/rules
index 19ea44a07..2ab87b0e9 100755
--- a/ubuntu/maverick/applications/kdiff3/debian/rules
+++ b/ubuntu/maverick/applications/kdiff3/debian/rules
@@ -74,14 +74,14 @@ install: build
 	dh_clean -k
 	dh_installdirs
 
-	$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp \
-		kde_htmldir=/opt/trinity/share/doc/tde/HTML
+	$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
 	rm -rf $(CURDIR)/debian/tmp/opt/trinity/share/doc/tde/HTML/kdiff3
 	# that's not where we want to have a man page
 	rm -rf $(CURDIR)/debian/tmp/opt/trinity/share/doc/tde/HTML/en/kdiff3/kdiff3.1
 	# move HTML help /opt/trinity/share/doc/kdiff3/html/
-	mkdir --parents $(CURDIR)/debian/tmp/opt/trinity/share/doc/kdiff3-doc/html/
-	mv $(CURDIR)/debian/tmp/opt/trinity/share/doc/tde/HTML/en/kdiff3/*.html $(CURDIR)/debian/tmp/opt/trinity/share/doc/kdiff3-doc/html/
+	mkdir --parents $(CURDIR)/debian/tmp/opt/trinity/share/doc/kdiff3/html/
+	mv $(CURDIR)/debian/tmp/opt/trinity/share/apps/kdiff3/doc/*.html $(CURDIR)/debian/tmp/opt/trinity/share/doc/kdiff3/html/
+	rmdir $(CURDIR)/debian/tmp/opt/trinity/share/apps/kdiff3/doc
 	# move kdiff3.desktop to freedesktop.org conforming place
 	mkdir --parents $(CURDIR)/debian/tmp/opt/trinity/share/applications/tde/
 	mv $(CURDIR)/debian/tmp/opt/trinity/share/applnk/Development/kdiff3.desktop $(CURDIR)/debian/tmp/opt/trinity/share/applications/tde/
diff --git a/ubuntu/precise/applications/kdiff3/debian/compat b/ubuntu/precise/applications/kdiff3/debian/compat
index b8626c4cf..7ed6ff82d 100644
--- a/ubuntu/precise/applications/kdiff3/debian/compat
+++ b/ubuntu/precise/applications/kdiff3/debian/compat
@@ -1 +1 @@
-4
+5
diff --git a/ubuntu/precise/applications/kdiff3/debian/kdiff3-trinity-doc.doc-base b/ubuntu/precise/applications/kdiff3/debian/kdiff3-trinity-doc.doc-base
index 014004a26..f72b088e4 100644
--- a/ubuntu/precise/applications/kdiff3/debian/kdiff3-trinity-doc.doc-base
+++ b/ubuntu/precise/applications/kdiff3/debian/kdiff3-trinity-doc.doc-base
@@ -1,4 +1,4 @@
-Document: kdiff3
+Document: kdiff3-trinity
 Title: KDiff3 Handbook
 Author: Joachim Eibl <joachim.eibl@gmx.de>
 Abstract:  The manual for KDiff3. KDiff3 compares two or three input files 
@@ -9,5 +9,5 @@ Abstract:  The manual for KDiff3. KDiff3 compares two or three input files
 Section: Apps/Programming
 
 Format: HTML
-Index: /usr/share/doc/kdiff3-doc/html/index.html
-Files: /usr/share/doc/kdiff3-doc/html/*.html
+Index: /opt/trinity/share/doc/kdiff3/html/index.html
+Files: /opt/trinity/share/doc/kdiff3/html/*.html
diff --git a/ubuntu/precise/applications/kdiff3/debian/kdiff3-trinity-doc.install b/ubuntu/precise/applications/kdiff3/debian/kdiff3-trinity-doc.install
index 6d9c9dd9a..5184aa633 100644
--- a/ubuntu/precise/applications/kdiff3/debian/kdiff3-trinity-doc.install
+++ b/ubuntu/precise/applications/kdiff3/debian/kdiff3-trinity-doc.install
@@ -1,2 +1,2 @@
 /opt/trinity/share/doc/tde
-/opt/trinity/share/doc/kdiff3-doc/html
+/opt/trinity/share/doc/kdiff3/html
diff --git a/ubuntu/precise/applications/kdiff3/debian/kdiff3-trinity-doc.links b/ubuntu/precise/applications/kdiff3/debian/kdiff3-trinity-doc.links
index e3fbe7781..8d3a5bde5 100644
--- a/ubuntu/precise/applications/kdiff3/debian/kdiff3-trinity-doc.links
+++ b/ubuntu/precise/applications/kdiff3/debian/kdiff3-trinity-doc.links
@@ -83,15 +83,15 @@
 /opt/trinity/share/doc/tde/HTML/en/kdiff3/white_space.png		/opt/trinity/share/doc/tde/HTML/sv/kdiff3/white_space.png
 
 
-/opt/trinity/share/doc/tde/HTML/en/common						/opt/trinity/share/doc/kdiff3-doc/html/common
-/opt/trinity/share/doc/tde/HTML/en/kdiff3/dirbrowser.png			/opt/trinity/share/doc/kdiff3-doc/html/dirbrowser.png
-/opt/trinity/share/doc/tde/HTML/en/kdiff3/dirmergebig.png		/opt/trinity/share/doc/kdiff3-doc/html/dirmergebig.png
-/opt/trinity/share/doc/tde/HTML/en/kdiff3/iteminfo.png			/opt/trinity/share/doc/kdiff3-doc/html/iteminfo.png
-/opt/trinity/share/doc/tde/HTML/en/kdiff3/letter_by_letter.png	/opt/trinity/share/doc/kdiff3-doc/html/letter_by_letter.png
-/opt/trinity/share/doc/tde/HTML/en/kdiff3/merge_current.png		/opt/trinity/share/doc/kdiff3-doc/html/merge_current.png
-/opt/trinity/share/doc/tde/HTML/en/kdiff3/new.png				/opt/trinity/share/doc/kdiff3-doc/html/new.png
-/opt/trinity/share/doc/tde/HTML/en/kdiff3/open_dialog.png		/opt/trinity/share/doc/kdiff3-doc/html/open_dialog.png
-/opt/trinity/share/doc/tde/HTML/en/kdiff3/screenshot_diff.png	/opt/trinity/share/doc/kdiff3-doc/html/screenshot_diff.png
-/opt/trinity/share/doc/tde/HTML/en/kdiff3/screenshot_merge.png	/opt/trinity/share/doc/kdiff3-doc/html/screenshot_merge.png
-/opt/trinity/share/doc/tde/HTML/en/kdiff3/triple_diff.png		/opt/trinity/share/doc/kdiff3-doc/html/triple_diff.png
-/opt/trinity/share/doc/tde/HTML/en/kdiff3/white_space.png		/opt/trinity/share/doc/kdiff3-doc/html/white_space.png
+/opt/trinity/share/doc/tde/HTML/en/common						/opt/trinity/share/doc/kdiff3/html/common
+/opt/trinity/share/doc/tde/HTML/en/kdiff3/dirbrowser.png			/opt/trinity/share/doc/kdiff3/html/dirbrowser.png
+/opt/trinity/share/doc/tde/HTML/en/kdiff3/dirmergebig.png		/opt/trinity/share/doc/kdiff3/html/dirmergebig.png
+/opt/trinity/share/doc/tde/HTML/en/kdiff3/iteminfo.png			/opt/trinity/share/doc/kdiff3/html/iteminfo.png
+/opt/trinity/share/doc/tde/HTML/en/kdiff3/letter_by_letter.png	/opt/trinity/share/doc/kdiff3/html/letter_by_letter.png
+/opt/trinity/share/doc/tde/HTML/en/kdiff3/merge_current.png		/opt/trinity/share/doc/kdiff3/html/merge_current.png
+/opt/trinity/share/doc/tde/HTML/en/kdiff3/new.png				/opt/trinity/share/doc/kdiff3/html/new.png
+/opt/trinity/share/doc/tde/HTML/en/kdiff3/open_dialog.png		/opt/trinity/share/doc/kdiff3/html/open_dialog.png
+/opt/trinity/share/doc/tde/HTML/en/kdiff3/screenshot_diff.png	/opt/trinity/share/doc/kdiff3/html/screenshot_diff.png
+/opt/trinity/share/doc/tde/HTML/en/kdiff3/screenshot_merge.png	/opt/trinity/share/doc/kdiff3/html/screenshot_merge.png
+/opt/trinity/share/doc/tde/HTML/en/kdiff3/triple_diff.png		/opt/trinity/share/doc/kdiff3/html/triple_diff.png
+/opt/trinity/share/doc/tde/HTML/en/kdiff3/white_space.png		/opt/trinity/share/doc/kdiff3/html/white_space.png
diff --git a/ubuntu/precise/applications/kdiff3/debian/rules b/ubuntu/precise/applications/kdiff3/debian/rules
index 19ea44a07..2ab87b0e9 100755
--- a/ubuntu/precise/applications/kdiff3/debian/rules
+++ b/ubuntu/precise/applications/kdiff3/debian/rules
@@ -74,14 +74,14 @@ install: build
 	dh_clean -k
 	dh_installdirs
 
-	$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp \
-		kde_htmldir=/opt/trinity/share/doc/tde/HTML
+	$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
 	rm -rf $(CURDIR)/debian/tmp/opt/trinity/share/doc/tde/HTML/kdiff3
 	# that's not where we want to have a man page
 	rm -rf $(CURDIR)/debian/tmp/opt/trinity/share/doc/tde/HTML/en/kdiff3/kdiff3.1
 	# move HTML help /opt/trinity/share/doc/kdiff3/html/
-	mkdir --parents $(CURDIR)/debian/tmp/opt/trinity/share/doc/kdiff3-doc/html/
-	mv $(CURDIR)/debian/tmp/opt/trinity/share/doc/tde/HTML/en/kdiff3/*.html $(CURDIR)/debian/tmp/opt/trinity/share/doc/kdiff3-doc/html/
+	mkdir --parents $(CURDIR)/debian/tmp/opt/trinity/share/doc/kdiff3/html/
+	mv $(CURDIR)/debian/tmp/opt/trinity/share/apps/kdiff3/doc/*.html $(CURDIR)/debian/tmp/opt/trinity/share/doc/kdiff3/html/
+	rmdir $(CURDIR)/debian/tmp/opt/trinity/share/apps/kdiff3/doc
 	# move kdiff3.desktop to freedesktop.org conforming place
 	mkdir --parents $(CURDIR)/debian/tmp/opt/trinity/share/applications/tde/
 	mv $(CURDIR)/debian/tmp/opt/trinity/share/applnk/Development/kdiff3.desktop $(CURDIR)/debian/tmp/opt/trinity/share/applications/tde/
diff --git a/ubuntu/raring/applications/kdiff3/debian/compat b/ubuntu/raring/applications/kdiff3/debian/compat
index b8626c4cf..7ed6ff82d 100644
--- a/ubuntu/raring/applications/kdiff3/debian/compat
+++ b/ubuntu/raring/applications/kdiff3/debian/compat
@@ -1 +1 @@
-4
+5
diff --git a/ubuntu/raring/applications/kdiff3/debian/kdiff3-trinity-doc.doc-base b/ubuntu/raring/applications/kdiff3/debian/kdiff3-trinity-doc.doc-base
index 014004a26..f72b088e4 100644
--- a/ubuntu/raring/applications/kdiff3/debian/kdiff3-trinity-doc.doc-base
+++ b/ubuntu/raring/applications/kdiff3/debian/kdiff3-trinity-doc.doc-base
@@ -1,4 +1,4 @@
-Document: kdiff3
+Document: kdiff3-trinity
 Title: KDiff3 Handbook
 Author: Joachim Eibl <joachim.eibl@gmx.de>
 Abstract:  The manual for KDiff3. KDiff3 compares two or three input files 
@@ -9,5 +9,5 @@ Abstract:  The manual for KDiff3. KDiff3 compares two or three input files
 Section: Apps/Programming
 
 Format: HTML
-Index: /usr/share/doc/kdiff3-doc/html/index.html
-Files: /usr/share/doc/kdiff3-doc/html/*.html
+Index: /opt/trinity/share/doc/kdiff3/html/index.html
+Files: /opt/trinity/share/doc/kdiff3/html/*.html
diff --git a/ubuntu/raring/applications/kdiff3/debian/kdiff3-trinity-doc.install b/ubuntu/raring/applications/kdiff3/debian/kdiff3-trinity-doc.install
index 6d9c9dd9a..5184aa633 100644
--- a/ubuntu/raring/applications/kdiff3/debian/kdiff3-trinity-doc.install
+++ b/ubuntu/raring/applications/kdiff3/debian/kdiff3-trinity-doc.install
@@ -1,2 +1,2 @@
 /opt/trinity/share/doc/tde
-/opt/trinity/share/doc/kdiff3-doc/html
+/opt/trinity/share/doc/kdiff3/html
diff --git a/ubuntu/raring/applications/kdiff3/debian/kdiff3-trinity-doc.links b/ubuntu/raring/applications/kdiff3/debian/kdiff3-trinity-doc.links
index e3fbe7781..8d3a5bde5 100644
--- a/ubuntu/raring/applications/kdiff3/debian/kdiff3-trinity-doc.links
+++ b/ubuntu/raring/applications/kdiff3/debian/kdiff3-trinity-doc.links
@@ -83,15 +83,15 @@
 /opt/trinity/share/doc/tde/HTML/en/kdiff3/white_space.png		/opt/trinity/share/doc/tde/HTML/sv/kdiff3/white_space.png
 
 
-/opt/trinity/share/doc/tde/HTML/en/common						/opt/trinity/share/doc/kdiff3-doc/html/common
-/opt/trinity/share/doc/tde/HTML/en/kdiff3/dirbrowser.png			/opt/trinity/share/doc/kdiff3-doc/html/dirbrowser.png
-/opt/trinity/share/doc/tde/HTML/en/kdiff3/dirmergebig.png		/opt/trinity/share/doc/kdiff3-doc/html/dirmergebig.png
-/opt/trinity/share/doc/tde/HTML/en/kdiff3/iteminfo.png			/opt/trinity/share/doc/kdiff3-doc/html/iteminfo.png
-/opt/trinity/share/doc/tde/HTML/en/kdiff3/letter_by_letter.png	/opt/trinity/share/doc/kdiff3-doc/html/letter_by_letter.png
-/opt/trinity/share/doc/tde/HTML/en/kdiff3/merge_current.png		/opt/trinity/share/doc/kdiff3-doc/html/merge_current.png
-/opt/trinity/share/doc/tde/HTML/en/kdiff3/new.png				/opt/trinity/share/doc/kdiff3-doc/html/new.png
-/opt/trinity/share/doc/tde/HTML/en/kdiff3/open_dialog.png		/opt/trinity/share/doc/kdiff3-doc/html/open_dialog.png
-/opt/trinity/share/doc/tde/HTML/en/kdiff3/screenshot_diff.png	/opt/trinity/share/doc/kdiff3-doc/html/screenshot_diff.png
-/opt/trinity/share/doc/tde/HTML/en/kdiff3/screenshot_merge.png	/opt/trinity/share/doc/kdiff3-doc/html/screenshot_merge.png
-/opt/trinity/share/doc/tde/HTML/en/kdiff3/triple_diff.png		/opt/trinity/share/doc/kdiff3-doc/html/triple_diff.png
-/opt/trinity/share/doc/tde/HTML/en/kdiff3/white_space.png		/opt/trinity/share/doc/kdiff3-doc/html/white_space.png
+/opt/trinity/share/doc/tde/HTML/en/common						/opt/trinity/share/doc/kdiff3/html/common
+/opt/trinity/share/doc/tde/HTML/en/kdiff3/dirbrowser.png			/opt/trinity/share/doc/kdiff3/html/dirbrowser.png
+/opt/trinity/share/doc/tde/HTML/en/kdiff3/dirmergebig.png		/opt/trinity/share/doc/kdiff3/html/dirmergebig.png
+/opt/trinity/share/doc/tde/HTML/en/kdiff3/iteminfo.png			/opt/trinity/share/doc/kdiff3/html/iteminfo.png
+/opt/trinity/share/doc/tde/HTML/en/kdiff3/letter_by_letter.png	/opt/trinity/share/doc/kdiff3/html/letter_by_letter.png
+/opt/trinity/share/doc/tde/HTML/en/kdiff3/merge_current.png		/opt/trinity/share/doc/kdiff3/html/merge_current.png
+/opt/trinity/share/doc/tde/HTML/en/kdiff3/new.png				/opt/trinity/share/doc/kdiff3/html/new.png
+/opt/trinity/share/doc/tde/HTML/en/kdiff3/open_dialog.png		/opt/trinity/share/doc/kdiff3/html/open_dialog.png
+/opt/trinity/share/doc/tde/HTML/en/kdiff3/screenshot_diff.png	/opt/trinity/share/doc/kdiff3/html/screenshot_diff.png
+/opt/trinity/share/doc/tde/HTML/en/kdiff3/screenshot_merge.png	/opt/trinity/share/doc/kdiff3/html/screenshot_merge.png
+/opt/trinity/share/doc/tde/HTML/en/kdiff3/triple_diff.png		/opt/trinity/share/doc/kdiff3/html/triple_diff.png
+/opt/trinity/share/doc/tde/HTML/en/kdiff3/white_space.png		/opt/trinity/share/doc/kdiff3/html/white_space.png
diff --git a/ubuntu/raring/applications/kdiff3/debian/rules b/ubuntu/raring/applications/kdiff3/debian/rules
index 19ea44a07..2ab87b0e9 100755
--- a/ubuntu/raring/applications/kdiff3/debian/rules
+++ b/ubuntu/raring/applications/kdiff3/debian/rules
@@ -74,14 +74,14 @@ install: build
 	dh_clean -k
 	dh_installdirs
 
-	$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp \
-		kde_htmldir=/opt/trinity/share/doc/tde/HTML
+	$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
 	rm -rf $(CURDIR)/debian/tmp/opt/trinity/share/doc/tde/HTML/kdiff3
 	# that's not where we want to have a man page
 	rm -rf $(CURDIR)/debian/tmp/opt/trinity/share/doc/tde/HTML/en/kdiff3/kdiff3.1
 	# move HTML help /opt/trinity/share/doc/kdiff3/html/
-	mkdir --parents $(CURDIR)/debian/tmp/opt/trinity/share/doc/kdiff3-doc/html/
-	mv $(CURDIR)/debian/tmp/opt/trinity/share/doc/tde/HTML/en/kdiff3/*.html $(CURDIR)/debian/tmp/opt/trinity/share/doc/kdiff3-doc/html/
+	mkdir --parents $(CURDIR)/debian/tmp/opt/trinity/share/doc/kdiff3/html/
+	mv $(CURDIR)/debian/tmp/opt/trinity/share/apps/kdiff3/doc/*.html $(CURDIR)/debian/tmp/opt/trinity/share/doc/kdiff3/html/
+	rmdir $(CURDIR)/debian/tmp/opt/trinity/share/apps/kdiff3/doc
 	# move kdiff3.desktop to freedesktop.org conforming place
 	mkdir --parents $(CURDIR)/debian/tmp/opt/trinity/share/applications/tde/
 	mv $(CURDIR)/debian/tmp/opt/trinity/share/applnk/Development/kdiff3.desktop $(CURDIR)/debian/tmp/opt/trinity/share/applications/tde/
-- 
cgit v1.2.1