From cf43c29c56c5dde3c57ed057e3ec321c97b01e30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Wed, 3 Feb 2021 23:50:18 +0100 Subject: DEB tdelibs: Install apidocs as kdelibs-apidocs to maintain compatibility for the v3.5.x series. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- debian/_base/core/kdelibs/debian/kdelibs4-trinity-doc.install | 2 +- debian/_base/core/kdelibs/debian/rules | 5 +++++ ubuntu/_base/core/kdelibs/debian/kdelibs4-trinity-doc.install | 2 +- ubuntu/_base/core/kdelibs/debian/rules | 5 +++++ 4 files changed, 12 insertions(+), 2 deletions(-) diff --git a/debian/_base/core/kdelibs/debian/kdelibs4-trinity-doc.install b/debian/_base/core/kdelibs/debian/kdelibs4-trinity-doc.install index bbc48fffa..aef1aa435 100644 --- a/debian/_base/core/kdelibs/debian/kdelibs4-trinity-doc.install +++ b/debian/_base/core/kdelibs/debian/kdelibs4-trinity-doc.install @@ -1 +1 @@ -debian/tmp/opt/trinity/share/doc/tde/HTML/en/kdelibs-apidocs/* +debian/tmp/opt/trinity/share/doc/tde/HTML/en/?delibs-apidocs/* diff --git a/debian/_base/core/kdelibs/debian/rules b/debian/_base/core/kdelibs/debian/rules index 03fcb6da5..2cd662ecd 100755 --- a/debian/_base/core/kdelibs/debian/rules +++ b/debian/_base/core/kdelibs/debian/rules @@ -98,6 +98,11 @@ ifeq (linux,$(DEB_HOST_ARCH_OS)) echo "libasound2-trinity-dev=libasound2-trinity-dev" >> debian/kdelibs4-trinity-dev.substvars endif +binary-install/kdelibs4-trinity-doc:: + [ -d debian/$(cdbs_curpkg)/opt/trinity/share/doc/tde/HTML/en/kdelibs-apidocs ] || \ + mv debian/$(cdbs_curpkg)/opt/trinity/share/doc/tde/HTML/en/tdelibs-apidocs \ + debian/$(cdbs_curpkg)/opt/trinity/share/doc/tde/HTML/en/kdelibs-apidocs + binary-install/kdelibs4c2a-trinity:: mv debian/tmp/opt/trinity/bin/kcmshell debian/tmp/opt/trinity/bin/kcmshell.real install -p -D -m755 debian/tmp/opt/trinity/bin/kcmshell.real debian/kdelibs4c2a-trinity/opt/trinity/bin/kcmshell.real diff --git a/ubuntu/_base/core/kdelibs/debian/kdelibs4-trinity-doc.install b/ubuntu/_base/core/kdelibs/debian/kdelibs4-trinity-doc.install index bbc48fffa..aef1aa435 100644 --- a/ubuntu/_base/core/kdelibs/debian/kdelibs4-trinity-doc.install +++ b/ubuntu/_base/core/kdelibs/debian/kdelibs4-trinity-doc.install @@ -1 +1 @@ -debian/tmp/opt/trinity/share/doc/tde/HTML/en/kdelibs-apidocs/* +debian/tmp/opt/trinity/share/doc/tde/HTML/en/?delibs-apidocs/* diff --git a/ubuntu/_base/core/kdelibs/debian/rules b/ubuntu/_base/core/kdelibs/debian/rules index 3af3cc3a5..7aa92e2a3 100755 --- a/ubuntu/_base/core/kdelibs/debian/rules +++ b/ubuntu/_base/core/kdelibs/debian/rules @@ -98,6 +98,11 @@ ifeq (linux,$(DEB_HOST_ARCH_OS)) echo "libasound2-trinity-dev=libasound2-trinity-dev" >> debian/kdelibs4-trinity-dev.substvars endif +binary-install/kdelibs4-trinity-doc:: + [ -d debian/$(cdbs_curpkg)/opt/trinity/share/doc/tde/HTML/en/kdelibs-apidocs ] || \ + mv debian/$(cdbs_curpkg)/opt/trinity/share/doc/tde/HTML/en/tdelibs-apidocs \ + debian/$(cdbs_curpkg)/opt/trinity/share/doc/tde/HTML/en/kdelibs-apidocs + binary-install/kdelibs4c2a-trinity:: mv debian/tmp/opt/trinity/bin/kcmshell debian/tmp/opt/trinity/bin/kcmshell.real install -p -D -m755 debian/tmp/opt/trinity/bin/kcmshell.real debian/kdelibs4c2a-trinity/opt/trinity/bin/kcmshell.real -- cgit v1.2.1