Git commit 2b55dc1cfbed5dbf08dfa534517db9c0dc26e54b by Burkhard Lück. Committed on 14/05/2016 at 22:06. Pushed by lueck into branch 'master'.
Rename directory docs/preparetips to preparetips5 rename directory + adapt docs/CMakeLists.txt Rationale: Translated docbooks in several frameworks are missing in the tarballs, 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. Now the folder in the sources has a different name than the install name in the CMakeLists.txt, in this case dirname preparetips != install name preparetips5. Therefore doc/preparetips in kconfigwidgets is pulled into l10n-kf5/scripts/documentation with the name preparetips5 using an entry in documentation_paths in l10n-kf5/scripts and then processed by scripty and used by translation teams. As discussed with David renaming the dirs in the frameworks repos is the easiest solution and does not require ugly hacks either in frameworks release script or in autogen.sh. REVIEW:127904 M +1 -1 docs/CMakeLists.txt R +0 -0 docs/preparetips5/CMakeLists.txt [from: docs/preparetips/CMakeLists.txt - 100% similarity] R +0 -0 docs/preparetips5/man-preparetips5.1.docbook [from: docs/preparetips/man-preparetips5.1.docbook - 100% similarity] http://commits.kde.org/kconfigwidgets/2b55dc1cfbed5dbf08dfa534517db9c0dc26e54b diff --git a/docs/CMakeLists.txt b/docs/CMakeLists.txt index 2c3bd71..1769282 100644 --- a/docs/CMakeLists.txt +++ b/docs/CMakeLists.txt @@ -1 +1 @@ -add_subdirectory(preparetips) +add_subdirectory(preparetips5) diff --git a/docs/preparetips/CMakeLists.txt b/docs/preparetips5/CMakeLists.txt similarity index 100% rename from docs/preparetips/CMakeLists.txt rename to docs/preparetips5/CMakeLists.txt diff --git a/docs/preparetips/man-preparetips5.1.docbook b/docs/preparetips5/man-preparetips5.1.docbook similarity index 100% rename from docs/preparetips/man-preparetips5.1.docbook rename to docs/preparetips5/man-preparetips5.1.docbook _______________________________________________ kde-doc-english mailing list [email protected] https://mail.kde.org/mailman/listinfo/kde-doc-english
