[neon/backports-jammy/libaccounts-qt/Neon/unstable] debian/patches: Add new patch: Install-the-doc-FILES.patch

Maximiliano Curia null at kde.org
Thu Jun 22 01:22:15 BST 2023


Git commit bb612a57a65d0a27fbe1eb28d85f7a147bdc8c78 by Maximiliano Curia.
Committed on 13/07/2017 at 14:32.
Pushed by carlosdem into branch 'Neon/unstable'.

Add new patch: Install-the-doc-FILES.patch

A  +21   -0    debian/patches/Install-the-doc-FILES.patch
A  +1    -0    debian/patches/series

https://invent.kde.org/neon/backports-jammy/libaccounts-qt/-/commit/bb612a57a65d0a27fbe1eb28d85f7a147bdc8c78

diff --git a/debian/patches/Install-the-doc-FILES.patch b/debian/patches/Install-the-doc-FILES.patch
new file mode 100644
index 0000000..8ce5095
--- /dev/null
+++ b/debian/patches/Install-the-doc-FILES.patch
@@ -0,0 +1,21 @@
+From: Maximiliano Curia <maxy at gnuservers.com.ar>
+Date: Thu, 13 Jul 2017 15:56:37 +0200
+Subject: Install the doc FILES
+
+---
+ doc/doc.pri | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/doc/doc.pri b/doc/doc.pri
+index 33f8bc2..43229ff 100644
+--- a/doc/doc.pri
++++ b/doc/doc.pri
+@@ -61,7 +61,7 @@ include( ../common-installs-config.pri )
+ #-----------------------------------------------------------------------------
+ documentation.path = $${INSTALL_PREFIX}/share/doc/$${PROJECT_NAME}
+ for( folder, DOC_FOLDERS ) {
+-    documentation.files += $${TOP_BUILD_DIR}/$${folder}
++    documentation.extra += cp -r "$${TOP_BUILD_DIR}/$${folder}" "${DESTDIR}$${INSTALL_PREFIX}/share/doc/$${PROJECT_NAME}";
+ }
+ # make sure docs are generated before trying to install anything
+ documentation.depends  = docs
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..e8325fe
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+Install-the-doc-FILES.patch



More information about the Neon-commits mailing list