summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2022-05-13 22:06:50 +0900
committerMichele Calgaro <[email protected]>2022-05-15 20:02:10 +0900
commitbbb3edad10559c7d0d5e88a2ed89957640522497 (patch)
tree3963f230b820a07326cc04816990bcbb35cd535a
parent43f519c15bff7b14816a8550bf3e853c6778019f (diff)
downloadtdebase-bbb3edad10559c7d0d5e88a2ed89957640522497.tar.gz
tdebase-bbb3edad10559c7d0d5e88a2ed89957640522497.zip
tdeio-man: add TDE specific man folder to the list of the search paths.
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit cc94c3dc3632d66f534972e61a8c88eb0d41fdad)
-rw-r--r--config.h.cmake3
-rw-r--r--tdeioslave/man/tdeio_man.cpp1
2 files changed, 4 insertions, 0 deletions
diff --git a/config.h.cmake b/config.h.cmake
index a6253cd7d..9afb66814 100644
--- a/config.h.cmake
+++ b/config.h.cmake
@@ -236,3 +236,6 @@
// TDE compositor binary name
#define TDE_COMPOSITOR_BINARY "compton-tde"
+
+// TDE man installation folder
+#define TDE_MANDIR "@MAN_INSTALL_DIR@"
diff --git a/tdeioslave/man/tdeio_man.cpp b/tdeioslave/man/tdeio_man.cpp
index 92530facb..13fc3b4d5 100644
--- a/tdeioslave/man/tdeio_man.cpp
+++ b/tdeioslave/man/tdeio_man.cpp
@@ -963,6 +963,7 @@ void MANProtocol::constructPath(TQStringList& constr_path, TQStringList constr_c
"/usr/sunpc/man",
"/usr/ncd/man",
"/usr/newsprint/man",
+ TDE_MANDIR,
NULL };