summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorgregory guy <gregory-tde@laposte.net>2021-03-02 13:57:11 +0100
committergregory guy <gregory-tde@laposte.net>2021-03-02 14:10:10 +0100
commit95a6a36403a289814bb252cd5496e4d67d331b11 (patch)
tree2da9acd78281232d12a8a2da75d5e78b9f220df9 /doc
parent1ada9e7a1182c27208d784aab9f046dd5da0d22f (diff)
downloadkmplayer-95a6a36403a289814bb252cd5496e4d67d331b11.tar.gz
kmplayer-95a6a36403a289814bb252cd5496e4d67d331b11.zip
Drop automake build support.
Add basic cmake build instructions. Delete empty file NEWS. Rework of the README and the English help page files. Update some cmake files with latest macros. libXv and libXext are handled by cmake intern modules through X11 variables. Few cosmetics. Signed-off-by: gregory guy <gregory-tde@laposte.net>
Diffstat (limited to 'doc')
-rw-r--r--doc/CMakeLists.txt38
-rw-r--r--doc/Makefile.am1
-rw-r--r--doc/da/Makefile.am5
-rw-r--r--doc/de/Makefile.am5
-rw-r--r--doc/en/Makefile.am5
-rw-r--r--doc/en/index.docbook11
-rw-r--r--doc/es/Makefile.am5
-rw-r--r--doc/et/Makefile.am5
-rw-r--r--doc/fr/Makefile.am5
-rw-r--r--doc/it/Makefile.am5
-rw-r--r--doc/nl/Makefile.am5
-rw-r--r--doc/pt/Makefile.am5
-rw-r--r--doc/ru/Makefile.am5
-rw-r--r--doc/sv/Makefile.am5
14 files changed, 34 insertions, 71 deletions
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
index 70d6348..f6eec15 100644
--- a/doc/CMakeLists.txt
+++ b/doc/CMakeLists.txt
@@ -1,14 +1,34 @@
file( GLOB _dirs RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} * )
+list( REMOVE_ITEM _dirs html man )
+
string( REGEX REPLACE "[ \r\n\t]+" ";" _linguas "$ENV{LINGUAS}" )
-foreach( _dir ${_dirs} )
- if( IS_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/${_dir} AND
- EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${_dir}/CMakeLists.txt )
- if( "${_dir}" STREQUAL "en" OR
- "${_dir}" STREQUAL "man" OR
- "${_linguas}" MATCHES "^;*$" OR
- ";${_linguas};" MATCHES ";${_dir};" )
- add_subdirectory( ${_dir} )
- endif( )
+foreach( _dir IN LISTS _dirs )
+ if( IS_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/${_dir}
+ AND ( "${_dir}" STREQUAL "en" OR
+ "${_linguas}" MATCHES "^;*$" OR
+ ";${_linguas};" MATCHES ";${_dir};" ))
+ file( GLOB _doc_files RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}/${_dir} ${_dir}/*.docbook )
+ if( _doc_files )
+ list( FIND _doc_files "index.docbook" _find_index )
+ if( -1 EQUAL _find_index )
+ set( _noindex "NOINDEX" )
+ else()
+ unset( _noindex )
+ endif()
+ tde_create_handbook(
+ SOURCE_BASEDIR ${_dir}
+ ${_noindex}
+ LANG ${_dir}
+ DESTINATION ${PROJECT_NAME}
+ )
+ endif()
endif()
endforeach()
+
+if( EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/html/CMakeLists.txt )
+ add_subdirectory( html )
+endif()
+if( EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/man/CMakeLists.txt )
+ add_subdirectory( man )
+endif()
diff --git a/doc/Makefile.am b/doc/Makefile.am
deleted file mode 100644
index 0d0e4de..0000000
--- a/doc/Makefile.am
+++ /dev/null
@@ -1 +0,0 @@
-SUBDIRS = da de en es et fr it nl pt ru sv
diff --git a/doc/da/Makefile.am b/doc/da/Makefile.am
deleted file mode 100644
index 344f26a..0000000
--- a/doc/da/Makefile.am
+++ /dev/null
@@ -1,5 +0,0 @@
-EXTRA_DIST = index.docbook
-
-
-KDE_LANG = da
-KDE_DOCS = kmplayer
diff --git a/doc/de/Makefile.am b/doc/de/Makefile.am
deleted file mode 100644
index b55ecf5..0000000
--- a/doc/de/Makefile.am
+++ /dev/null
@@ -1,5 +0,0 @@
-EXTRA_DIST = index.docbook
-
-
-KDE_LANG = de
-KDE_DOCS = kmplayer
diff --git a/doc/en/Makefile.am b/doc/en/Makefile.am
deleted file mode 100644
index 135460c..0000000
--- a/doc/en/Makefile.am
+++ /dev/null
@@ -1,5 +0,0 @@
-EXTRA_DIST = index.docbook
-
-
-KDE_LANG = en
-KDE_DOCS = kmplayer
diff --git a/doc/en/index.docbook b/doc/en/index.docbook
index fe2b7e1..fb93454 100644
--- a/doc/en/index.docbook
+++ b/doc/en/index.docbook
@@ -45,7 +45,7 @@
<abstract>
<para>
- &kmplayer; is an application that is a &kde; frontend to <application>MPlayer</application>, <application>Xine</application> and <application>GStreamer</application>.
+ &kmplayer; is an application that is a TDE frontend to <application>MPlayer</application>, <application>Xine</application> and <application>GStreamer</application>.
</para>
</abstract>
@@ -72,13 +72,12 @@ supports as well as watching from <acronym>DVD</acronym>,
<acronym>VCD</acronym> or <acronym>TV</acronym> and <acronym>camera</acronym>.
</para>
<para>
-The documentation for &kappname; was not finished when &kde; was
-installed on this computer.</para> <para>If you need more help, please
-check <ulink url="http://www.kde.org">The KDE Website</ulink> for
+The documentation for &kappname; has yet to be completed.
+</para>
+<para>If you need more help, please check <ulink url="http://trinitydesktop.org">The TDE Website</ulink> for
updates, or by submitting your question to
-<ulink url="mailto:kde-user@kde.org">The &kde; User Mailing list</ulink>.
+<ulink url="http://trinitydesktop.org/mailinglist.php">The TDE User Mailing list</ulink>.
</para>
-<para><emphasis>The &kde; Team</emphasis></para>
</chapter>
<chapter id="gui">
diff --git a/doc/es/Makefile.am b/doc/es/Makefile.am
deleted file mode 100644
index 4be9769..0000000
--- a/doc/es/Makefile.am
+++ /dev/null
@@ -1,5 +0,0 @@
-EXTRA_DIST = index.docbook
-
-
-KDE_LANG = es
-KDE_DOCS = kmplayer
diff --git a/doc/et/Makefile.am b/doc/et/Makefile.am
deleted file mode 100644
index f458944..0000000
--- a/doc/et/Makefile.am
+++ /dev/null
@@ -1,5 +0,0 @@
-EXTRA_DIST = index.docbook
-
-
-KDE_LANG = et
-KDE_DOCS = kmplayer
diff --git a/doc/fr/Makefile.am b/doc/fr/Makefile.am
deleted file mode 100644
index 2b04350..0000000
--- a/doc/fr/Makefile.am
+++ /dev/null
@@ -1,5 +0,0 @@
-EXTRA_DIST = index.docbook
-
-
-KDE_LANG = fr
-KDE_DOCS = kmplayer
diff --git a/doc/it/Makefile.am b/doc/it/Makefile.am
deleted file mode 100644
index 1707be6..0000000
--- a/doc/it/Makefile.am
+++ /dev/null
@@ -1,5 +0,0 @@
-EXTRA_DIST = index.docbook
-
-
-KDE_LANG = it
-KDE_DOCS = kmplayer
diff --git a/doc/nl/Makefile.am b/doc/nl/Makefile.am
deleted file mode 100644
index a09519d..0000000
--- a/doc/nl/Makefile.am
+++ /dev/null
@@ -1,5 +0,0 @@
-EXTRA_DIST = index.docbook
-
-
-KDE_LANG = nl
-KDE_DOCS = kmplayer
diff --git a/doc/pt/Makefile.am b/doc/pt/Makefile.am
deleted file mode 100644
index 374a987..0000000
--- a/doc/pt/Makefile.am
+++ /dev/null
@@ -1,5 +0,0 @@
-EXTRA_DIST = index.docbook
-
-
-KDE_LANG = pt
-KDE_DOCS = kmplayer
diff --git a/doc/ru/Makefile.am b/doc/ru/Makefile.am
deleted file mode 100644
index 6754a55..0000000
--- a/doc/ru/Makefile.am
+++ /dev/null
@@ -1,5 +0,0 @@
-EXTRA_DIST = index.docbook
-
-
-KDE_LANG = ru
-KDE_DOCS = kmplayer
diff --git a/doc/sv/Makefile.am b/doc/sv/Makefile.am
deleted file mode 100644
index 84c6898..0000000
--- a/doc/sv/Makefile.am
+++ /dev/null
@@ -1,5 +0,0 @@
-EXTRA_DIST = index.docbook
-
-
-KDE_LANG = sv
-KDE_DOCS = kmplayer