From 0a7dd146a5b291c69f6f3d4a82b7209e6f4e2847 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sat, 27 Aug 2022 10:29:31 +0200 Subject: [PATCH] Move the documentation to a new directory layout. 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/CMakeLists.txt | 8 -------- doc/Makefile.am | 4 +--- doc/en/Makefile.am | 3 +++ doc/{ => en}/audiocd-howto.docbook | 0 doc/{ => en}/burndialog_audio.png | Bin doc/{ => en}/burndialog_progress.png | Bin doc/{ => en}/cdcloning_dialog.png | Bin doc/{ => en}/cdcloning_reading.png | Bin doc/{ => en}/cdcopy-howto.docbook | 0 doc/{ => en}/cdcopy_done.png | Bin doc/{ => en}/cdcopy_reading.png | Bin doc/{ => en}/cdcopy_settings.png | Bin doc/{ => en}/cdcopy_writing.png | Bin doc/{ => en}/commands.docbook | 0 doc/{ => en}/dcop.docbook | 0 doc/{ => en}/index.docbook | 0 doc/{ => en}/k3bsetup.png | Bin doc/{ => en}/select_audiofiles.png | Bin doc/{ => en}/select_project.png | Bin doc/{tdeioslave/en => en/tdeioslave}/Makefile.am | 0 .../en => en/tdeioslave}/videodvd/Makefile.am | 0 .../en => en/tdeioslave}/videodvd/index.docbook | 0 doc/man/CMakeLists.txt | 6 ------ doc/tdeioslave/CMakeLists.txt | 3 --- doc/tdeioslave/Makefile.am | 1 - doc/tdeioslave/en/CMakeLists.txt | 3 --- doc/tdeioslave/en/videodvd/CMakeLists.txt | 3 --- 28 files changed, 5 insertions(+), 28 deletions(-) delete mode 100644 doc/CMakeLists.txt create mode 100644 doc/en/Makefile.am rename doc/{ => en}/audiocd-howto.docbook (100%) rename doc/{ => en}/burndialog_audio.png (100%) rename doc/{ => en}/burndialog_progress.png (100%) rename doc/{ => en}/cdcloning_dialog.png (100%) rename doc/{ => en}/cdcloning_reading.png (100%) rename doc/{ => en}/cdcopy-howto.docbook (100%) rename doc/{ => en}/cdcopy_done.png (100%) rename doc/{ => en}/cdcopy_reading.png (100%) rename doc/{ => en}/cdcopy_settings.png (100%) rename doc/{ => en}/cdcopy_writing.png (100%) rename doc/{ => en}/commands.docbook (100%) rename doc/{ => en}/dcop.docbook (100%) rename doc/{ => en}/index.docbook (100%) rename doc/{ => en}/k3bsetup.png (100%) rename doc/{ => en}/select_audiofiles.png (100%) rename doc/{ => en}/select_project.png (100%) rename doc/{tdeioslave/en => en/tdeioslave}/Makefile.am (100%) rename doc/{tdeioslave/en => en/tdeioslave}/videodvd/Makefile.am (100%) rename doc/{tdeioslave/en => en/tdeioslave}/videodvd/index.docbook (100%) delete mode 100644 doc/man/CMakeLists.txt delete mode 100644 doc/tdeioslave/CMakeLists.txt delete mode 100644 doc/tdeioslave/Makefile.am delete mode 100644 doc/tdeioslave/en/CMakeLists.txt delete mode 100644 doc/tdeioslave/en/videodvd/CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt index 93a1a56..b0fe2a8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -161,7 +161,7 @@ add_subdirectory( src ) add_subdirectory( tdefile-plugins ) add_subdirectory( tdeioslaves ) tde_conditional_add_subdirectory( BUILD_K3BSETUP k3bsetup ) -tde_conditional_add_subdirectory( BUILD_DOC doc ) +tde_conditional_add_project_docs( BUILD_DOC ) ##### write configure files ##################### diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt deleted file mode 100644 index ae3a9d0..0000000 --- a/doc/CMakeLists.txt +++ /dev/null @@ -1,8 +0,0 @@ -# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer - -add_subdirectory( tdeioslave ) -add_subdirectory( man ) - -##### documentation ############################# -tde_create_handbook( DESTINATION k3b ) - diff --git a/doc/Makefile.am b/doc/Makefile.am index bebd343..81fee21 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,3 +1 @@ -KDE_LANG = en -KDE_DOCS = k3b -SUBDIRS = tdeioslave +SUBDIRS = en diff --git a/doc/en/Makefile.am b/doc/en/Makefile.am new file mode 100644 index 0000000..bebd343 --- /dev/null +++ b/doc/en/Makefile.am @@ -0,0 +1,3 @@ +KDE_LANG = en +KDE_DOCS = k3b +SUBDIRS = tdeioslave diff --git a/doc/audiocd-howto.docbook b/doc/en/audiocd-howto.docbook similarity index 100% rename from doc/audiocd-howto.docbook rename to doc/en/audiocd-howto.docbook diff --git a/doc/burndialog_audio.png b/doc/en/burndialog_audio.png similarity index 100% rename from doc/burndialog_audio.png rename to doc/en/burndialog_audio.png diff --git a/doc/burndialog_progress.png b/doc/en/burndialog_progress.png similarity index 100% rename from doc/burndialog_progress.png rename to doc/en/burndialog_progress.png diff --git a/doc/cdcloning_dialog.png b/doc/en/cdcloning_dialog.png similarity index 100% rename from doc/cdcloning_dialog.png rename to doc/en/cdcloning_dialog.png diff --git a/doc/cdcloning_reading.png b/doc/en/cdcloning_reading.png similarity index 100% rename from doc/cdcloning_reading.png rename to doc/en/cdcloning_reading.png diff --git a/doc/cdcopy-howto.docbook b/doc/en/cdcopy-howto.docbook similarity index 100% rename from doc/cdcopy-howto.docbook rename to doc/en/cdcopy-howto.docbook diff --git a/doc/cdcopy_done.png b/doc/en/cdcopy_done.png similarity index 100% rename from doc/cdcopy_done.png rename to doc/en/cdcopy_done.png diff --git a/doc/cdcopy_reading.png b/doc/en/cdcopy_reading.png similarity index 100% rename from doc/cdcopy_reading.png rename to doc/en/cdcopy_reading.png diff --git a/doc/cdcopy_settings.png b/doc/en/cdcopy_settings.png similarity index 100% rename from doc/cdcopy_settings.png rename to doc/en/cdcopy_settings.png diff --git a/doc/cdcopy_writing.png b/doc/en/cdcopy_writing.png similarity index 100% rename from doc/cdcopy_writing.png rename to doc/en/cdcopy_writing.png diff --git a/doc/commands.docbook b/doc/en/commands.docbook similarity index 100% rename from doc/commands.docbook rename to doc/en/commands.docbook diff --git a/doc/dcop.docbook b/doc/en/dcop.docbook similarity index 100% rename from doc/dcop.docbook rename to doc/en/dcop.docbook diff --git a/doc/index.docbook b/doc/en/index.docbook similarity index 100% rename from doc/index.docbook rename to doc/en/index.docbook diff --git a/doc/k3bsetup.png b/doc/en/k3bsetup.png similarity index 100% rename from doc/k3bsetup.png rename to doc/en/k3bsetup.png diff --git a/doc/select_audiofiles.png b/doc/en/select_audiofiles.png similarity index 100% rename from doc/select_audiofiles.png rename to doc/en/select_audiofiles.png diff --git a/doc/select_project.png b/doc/en/select_project.png similarity index 100% rename from doc/select_project.png rename to doc/en/select_project.png diff --git a/doc/tdeioslave/en/Makefile.am b/doc/en/tdeioslave/Makefile.am similarity index 100% rename from doc/tdeioslave/en/Makefile.am rename to doc/en/tdeioslave/Makefile.am diff --git a/doc/tdeioslave/en/videodvd/Makefile.am b/doc/en/tdeioslave/videodvd/Makefile.am similarity index 100% rename from doc/tdeioslave/en/videodvd/Makefile.am rename to doc/en/tdeioslave/videodvd/Makefile.am diff --git a/doc/tdeioslave/en/videodvd/index.docbook b/doc/en/tdeioslave/videodvd/index.docbook similarity index 100% rename from doc/tdeioslave/en/videodvd/index.docbook rename to doc/en/tdeioslave/videodvd/index.docbook diff --git a/doc/man/CMakeLists.txt b/doc/man/CMakeLists.txt deleted file mode 100644 index f07121a..0000000 --- a/doc/man/CMakeLists.txt +++ /dev/null @@ -1,6 +0,0 @@ -SET(MANFILES k3b.1) - -INSTALL(FILES - ${MANFILES} - DESTINATION share/man/man1) - diff --git a/doc/tdeioslave/CMakeLists.txt b/doc/tdeioslave/CMakeLists.txt deleted file mode 100644 index a39cb92..0000000 --- a/doc/tdeioslave/CMakeLists.txt +++ /dev/null @@ -1,3 +0,0 @@ -# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer - -add_subdirectory( en ) diff --git a/doc/tdeioslave/Makefile.am b/doc/tdeioslave/Makefile.am deleted file mode 100644 index 81fee21..0000000 --- a/doc/tdeioslave/Makefile.am +++ /dev/null @@ -1 +0,0 @@ -SUBDIRS = en diff --git a/doc/tdeioslave/en/CMakeLists.txt b/doc/tdeioslave/en/CMakeLists.txt deleted file mode 100644 index 5e29142..0000000 --- a/doc/tdeioslave/en/CMakeLists.txt +++ /dev/null @@ -1,3 +0,0 @@ -# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer - -add_subdirectory( videodvd ) diff --git a/doc/tdeioslave/en/videodvd/CMakeLists.txt b/doc/tdeioslave/en/videodvd/CMakeLists.txt deleted file mode 100644 index 18127c6..0000000 --- a/doc/tdeioslave/en/videodvd/CMakeLists.txt +++ /dev/null @@ -1,3 +0,0 @@ -# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer -tde_create_handbook( DESTINATION tdeioslave/videodvd ) -