[kwallet] docs: Move kwallet-query docbook to correct subdir
Burkhard Lück
lueck at hube-lueck.de
Thu Aug 11 13:29:32 UTC 2016
Git commit 0b8e243efe73fffd1a7c018e24368170d0f9a11d by Burkhard Lück.
Committed on 11/08/2016 at 13:28.
Pushed by lueck into branch 'master'.
Move kwallet-query docbook to correct subdir
move docbook into subdit with matching name in l10n subdir + adapt docs/CMakeLists.txt
Rationale:
The Translated docbooks in this frameworks are missing in the tarball, see https://todo.kde.org/?controller=task&action=show&task_id=520
To find out which subdir of docs/frameworks subdir it should grab translated
docs from, the frameworks release script uses the name of the subdir in the sources.
On the other hand the script autogen.sh in l10n-kf5/scripts generates the CMakeLists.txt files
with the correct install paths/names for the language docbooks using the dirnames in l10n/[lang]/documentation.
REVIEW:128638
M +1 -10 docs/CMakeLists.txt
C +0 -0 docs/kwallet-query/CMakeLists.txt [from: docs/CMakeLists.txt - 100% similarity]
R +0 -0 docs/kwallet-query/man-kwallet-query.1.docbook [from: docs/man-kwallet-query.1.docbook - 100% similarity]
R +0 -0 docs/kwallet-query/using.adoc [from: docs/using.adoc - 100% similarity]
http://commits.kde.org/kwallet/0b8e243efe73fffd1a7c018e24368170d0f9a11d
diff --git a/docs/CMakeLists.txt b/docs/CMakeLists.txt
index c4ef9c7..d72ffac 100644
--- a/docs/CMakeLists.txt
+++ b/docs/CMakeLists.txt
@@ -1,10 +1 @@
-#
-# The main documentation is written using asciidoc
-# So, the files *.adoc are the documentation sources
-# These are converted to docbook format using the a2x
-# tool that commes with the asciidoc package
-#
-FIND_PACKAGE(KF5 ${KF5_VERSION} REQUIRED DocTools)
-
-set(m kwallet-query)
-kdoctools_create_manpage(man-${m}.1.docbook 1 INSTALL_DESTINATION ${KDE_INSTALL_MANDIR})
+add_subdirectory(kwallet-query)
diff --git a/docs/CMakeLists.txt b/docs/kwallet-query/CMakeLists.txt
similarity index 100%
copy from docs/CMakeLists.txt
copy to docs/kwallet-query/CMakeLists.txt
diff --git a/docs/man-kwallet-query.1.docbook b/docs/kwallet-query/man-kwallet-query.1.docbook
similarity index 100%
rename from docs/man-kwallet-query.1.docbook
rename to docs/kwallet-query/man-kwallet-query.1.docbook
diff --git a/docs/using.adoc b/docs/kwallet-query/using.adoc
similarity index 100%
rename from docs/using.adoc
rename to docs/kwallet-query/using.adoc
More information about the kde-doc-english
mailing list