From cd1471858e29d0d23355a93178e063fd0550d31c Mon Sep 17 00:00:00 2001 From: gregory guy Date: Thu, 16 Jul 2020 14:07:49 +0200 Subject: Conversion to the cmake building system. Added a man page taken from the Debian packaging system. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: gregory guy Resolve issues that occurred during CMake conversion. Concatenate the commands for generating pixmaps.h with CMake so that there is no need to use the GNU specific sed option -i. Signed-off-by: Slávek Banko Signed-off-by: gregory guy (cherry picked from commit d0c03cc9a910ea44cea57b1af43bbd90eb86d4bc) --- doc/CMakeLists.txt | 14 ++++++++++++++ doc/man/CMakeLists.txt | 5 +++++ doc/man/bab.1 | 36 ++++++++++++++++++++++++++++++++++++ 3 files changed, 55 insertions(+) create mode 100644 doc/CMakeLists.txt create mode 100644 doc/man/CMakeLists.txt create mode 100644 doc/man/bab.1 (limited to 'doc') diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt new file mode 100644 index 0000000..70d6348 --- /dev/null +++ b/doc/CMakeLists.txt @@ -0,0 +1,14 @@ +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..50bbc0e --- /dev/null +++ b/doc/man/CMakeLists.txt @@ -0,0 +1,5 @@ +INSTALL( + FILES bab.1 + DESTINATION ${MAN_INSTALL_DIR}/man1 + COMPONENT doc +) diff --git a/doc/man/bab.1 b/doc/man/bab.1 new file mode 100644 index 0000000..c886914 --- /dev/null +++ b/doc/man/bab.1 @@ -0,0 +1,36 @@ +.\" Author: Jose Luis Tallon +.\" +.\" This is free software; you may redistribute it and/or modify +.\" it under the terms of the GNU General Public License as +.\" published by the Free Software Foundation; either version 2, +.\" or (at your option) any later version. +.\" +.\" This is distributed in the hope that it will be useful, but +.\" WITHOUT ANY WARRANTY; without even the implied warranty of +.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +.\" GNU General Public License for more details. +.\" +.\" You should have received a copy of the GNU General Public License +.\" along with the Debian GNU/Linux system; if not, write to the Free +.\" Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA +.\" 02111-1307 USA +.TH bab "1" "October 2004" +.SH NAME +bab \- Baghira's config tray applet +.SH SYNOPSIS +bab +.SH DESCRIPTION +.B bab +is a simple systray application, which enables you to dinamically +change some aspects of Baghira's configuration without accesing +Trinity Control Center +.PP +Complete documentation can be found in docbook format in +/opt/trinity/share/doc/kde/HTML//baghira/ on this system. +.SH AUTHOR + Thomas L\[:u]bking +.PP +This manual page was written by Jose Luis Tallon +.nh + +for the \fBDebian\fP system (but may be used by others). -- cgit v1.2.1