From 1d3e19e0a4fabc9c12ff0662b0447fa1e4b67e58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sat, 27 Aug 2022 14:52:00 +0200 Subject: [PATCH] Move the documentation from tdeio-locate to tdeioslave/locate. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- CMakeLists.txt | 2 +- doc/en/CMakeLists.txt | 12 ------------ doc/en/{ => tdeioslave/locate}/index.docbook | 0 doc/en/{ => tdeioslave/locate}/screenshot.png | Bin src/locate.protocol | 2 +- src/locater.protocol | 2 +- src/rlocate.protocol | 2 +- src/tdeio_locate.cpp | 2 +- 8 files changed, 5 insertions(+), 17 deletions(-) delete mode 100644 doc/en/CMakeLists.txt rename doc/en/{ => tdeioslave/locate}/index.docbook (100%) rename doc/en/{ => tdeioslave/locate}/screenshot.png (100%) diff --git a/CMakeLists.txt b/CMakeLists.txt index 59a34a5..cda5b2e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -72,7 +72,7 @@ set( CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-undefined" ##### source directories ######################## add_subdirectory( src ) -tde_conditional_add_subdirectory( BUILD_DOC doc ) +tde_conditional_add_project_docs( BUILD_DOC ) tde_conditional_add_subdirectory( BUILD_TRANSLATIONS po ) diff --git a/doc/en/CMakeLists.txt b/doc/en/CMakeLists.txt deleted file mode 100644 index df19cbd..0000000 --- a/doc/en/CMakeLists.txt +++ /dev/null @@ -1,12 +0,0 @@ -################################################# -# -# (C) 2011 Timothy Pearson -# kb9vqf (AT) pearsoncomputing.net -# -# Improvements and feedback are welcome -# -# This file is released under GPL >= 2 -# -################################################# - -tde_create_handbook( DESTINATION tdeio-locate ) diff --git a/doc/en/index.docbook b/doc/en/tdeioslave/locate/index.docbook similarity index 100% rename from doc/en/index.docbook rename to doc/en/tdeioslave/locate/index.docbook diff --git a/doc/en/screenshot.png b/doc/en/tdeioslave/locate/screenshot.png similarity index 100% rename from doc/en/screenshot.png rename to doc/en/tdeioslave/locate/screenshot.png diff --git a/src/locate.protocol b/src/locate.protocol index c9d6057..179561d 100644 --- a/src/locate.protocol +++ b/src/locate.protocol @@ -15,4 +15,4 @@ Class=:local URIMode=rawuri # Our very sophisticated documentation -X-DocPath=tdeio-locate/index.html +X-DocPath=tdeioslave/locate/index.html diff --git a/src/locater.protocol b/src/locater.protocol index e7f8bf2..cac299c 100644 --- a/src/locater.protocol +++ b/src/locater.protocol @@ -12,4 +12,4 @@ Description=TDE I/O Slave for the locate command Class=:local # Our very sophisticated documentation -X-DocPath=tdeio-locate/index.html +X-DocPath=tdeioslave/locate/index.html diff --git a/src/rlocate.protocol b/src/rlocate.protocol index aefcc5d..4b4802b 100644 --- a/src/rlocate.protocol +++ b/src/rlocate.protocol @@ -15,4 +15,4 @@ Class=:local URIMode=rawuri # Our very sophisticated documentation -X-DocPath=tdeio-locate/index.html +X-DocPath=tdeioslave/locate/index.html diff --git a/src/tdeio_locate.cpp b/src/tdeio_locate.cpp index 6f40170..09f2395 100644 --- a/src/tdeio_locate.cpp +++ b/src/tdeio_locate.cpp @@ -836,7 +836,7 @@ bool LocateProtocol::isHelpRequest() void LocateProtocol::helpRequest() { // Redirect the user to our help documents. - redirection("help:/tdeio-locate/"); + redirection("help:/tdeioslave/locate/"); finished(); }