summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2020-04-05 15:57:25 +0200
committerSlávek Banko <[email protected]>2020-04-05 15:57:43 +0200
commit4c38003eea56e3986a02672ff455946d404495cf (patch)
tree867c28f2b1a122a43caffcc36a3b5f3642f928e9 /doc
parent057ca4c9ca43c3f64263ac3a0ee213aba8ed3b4f (diff)
downloadkbiff-4c38003eea56e3986a02672ff455946d404495cf.tar.gz
kbiff-4c38003eea56e3986a02672ff455946d404495cf.zip
Move translations to a new directory layout.
Add support for LINGUAS for listing translations to install. Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit 70c6012735401beda672124d23c06a7b5fe20b72)
Diffstat (limited to 'doc')
-rw-r--r--doc/CMakeLists.txt15
-rw-r--r--doc/man/CMakeLists.txt5
-rw-r--r--doc/man/kbiff.1103
3 files changed, 122 insertions, 1 deletions
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
index 6d0aa9f..70d6348 100644
--- a/doc/CMakeLists.txt
+++ b/doc/CMakeLists.txt
@@ -1 +1,14 @@
-tde_auto_add_subdirectories( )
+file( GLOB _dirs RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} * )
+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( )
+ endif()
+endforeach()
diff --git a/doc/man/CMakeLists.txt b/doc/man/CMakeLists.txt
new file mode 100644
index 0000000..8512250
--- /dev/null
+++ b/doc/man/CMakeLists.txt
@@ -0,0 +1,5 @@
+INSTALL(
+ FILES ${PROJECT_NAME}.1
+ DESTINATION ${MAN_INSTALL_DIR}/man1
+ COMPONENT doc
+)
diff --git a/doc/man/kbiff.1 b/doc/man/kbiff.1
new file mode 100644
index 0000000..3468e7d
--- /dev/null
+++ b/doc/man/kbiff.1
@@ -0,0 +1,103 @@
+.\" This -*- nroff -*- file has been generated from
+.\" DocBook SGML with docbook-to-man on Debian GNU/Linux.
+...\"
+...\" transcript compatibility for postscript use.
+...\"
+...\" synopsis: .P! <file.ps>
+...\"
+.de P!
+\\&.
+.fl \" force out current output buffer
+\\!%PB
+\\!/showpage{}def
+...\" the following is from Ken Flowers -- it prevents dictionary overflows
+\\!/tempdict 200 dict def tempdict begin
+.fl \" prolog
+.sy cat \\$1\" bring in postscript file
+...\" the following line matches the tempdict above
+\\!end % tempdict %
+\\!PE
+\\!.
+.sp \\$2u \" move below the image
+..
+.de pF
+.ie \\*(f1 .ds f1 \\n(.f
+.el .ie \\*(f2 .ds f2 \\n(.f
+.el .ie \\*(f3 .ds f3 \\n(.f
+.el .ie \\*(f4 .ds f4 \\n(.f
+.el .tm ? font overflow
+.ft \\$1
+..
+.de fP
+.ie !\\*(f4 \{\
+. ft \\*(f4
+. ds f4\"
+' br \}
+.el .ie !\\*(f3 \{\
+. ft \\*(f3
+. ds f3\"
+' br \}
+.el .ie !\\*(f2 \{\
+. ft \\*(f2
+. ds f2\"
+' br \}
+.el .ie !\\*(f1 \{\
+. ft \\*(f1
+. ds f1\"
+' br \}
+.el .tm ? font underflow
+..
+.ds f1\"
+.ds f2\"
+.ds f3\"
+.ds f4\"
+'\" t
+.ta 8n 16n 24n 32n 40n 48n 56n 64n 72n
+.TH "KBIFF" "1"
+.SH "NAME"
+kbiff \(em biff utility for TDE
+.SH "SYNOPSIS"
+.PP
+\fBkbiff\fP [\fBQt-options\fP] [\fBKDE-options\fP] [\fBoptions\fP]
+.SH "DESCRIPTION"
+.PP
+\fBkbiff\fP is a biff utility. It is highly configurable
+but very easy to use and setup. It tries to combine the best
+(or at least *all*) of the features of most of the other "biff"
+programs out there.
+.PP
+This manual page was written for the \fBDebian GNU/Linux\fP distribution
+because the original program does not have a manual page.
+.SH "OPTIONS"
+.PP
+These programs follow the usual GNU command line syntax,
+with long options starting with two dashes (`-'). A summary of
+options is included below.
+.IP "\fB--help\fP " 10
+Show help about options
+.IP "\fB--help-qt\fP " 10
+Show Qt specific options
+.IP "\fB--help-tde\fP " 10
+Show KDE specific options
+.IP "\fB--help-all\fP " 10
+Show all options
+.IP "\fB--author\fP " 10
+Show author information
+.IP "\fB--version\fP \fB-v\fP " 10
+Show version of program
+.IP "\fB--license\fP " 10
+Show license information
+.IP "\fB--secure\fP " 10
+Run in secure mode
+.IP "\fB--profile\fP \fIPROFILE\fP " 10
+Use \fIPROFILE\fP
+.SH "AUTHOR"
+.PP
+This manual page was written by matze [email protected] for
+the \fBDebian GNU/Linux\fP system (but may be used by others). Permission is
+granted to copy, distribute and/or modify this document under the
+terms of the GNU Free Documentation License,
+Version 1.1 or any later version published by the Free Software
+Foundation; with no Invariant Sections, no Front-Cover Texts and
+no Back-Cover Texts.
+...\" created by instant / docbook-to-man, Thu 04 Oct 2001, 16:29