From 055703fe26a07abec86aba09f9a51d0b2dc5bac4 Mon Sep 17 00:00:00 2001 From: monsta Date: Sun, 5 Mar 2017 15:17:39 +0300 Subject: man: use manpages as is instead of generating them from sgml same as it's done in all other MATE projects. also drop build-dep on docbook2man, now it's not needed anymore. manpages are moved to data/ directory to avoid conflicts with old generated manpages in man/ directory when doing git pull (in case generated files are present). therefore man/ directory is removed completely. --- data/Makefile.am | 9 ++++++++- data/mate-power-backlight-helper.1 | 29 +++++++++++++++++++++++++++++ data/mate-power-manager.1 | 29 +++++++++++++++++++++++++++++ data/mate-power-preferences.1 | 21 +++++++++++++++++++++ data/mate-power-statistics.1 | 22 ++++++++++++++++++++++ 5 files changed, 109 insertions(+), 1 deletion(-) create mode 100644 data/mate-power-backlight-helper.1 create mode 100644 data/mate-power-manager.1 create mode 100644 data/mate-power-preferences.1 create mode 100644 data/mate-power-statistics.1 (limited to 'data') diff --git a/data/Makefile.am b/data/Makefile.am index 9d8a746..5b7383f 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -30,12 +30,19 @@ pkgdata_DATA = \ gpm-prefs.ui \ acme.ui +man_MANS = \ + mate-power-manager.1 \ + mate-power-backlight-helper.1 \ + mate-power-statistics.1 \ + mate-power-preferences.1 + EXTRA_DIST = \ $(service_in_files) \ $(autostart_in_files) \ $(desktop_in_files) \ $(gsettings_schemas_in_files) \ - $(pkgdata_DATA) + $(pkgdata_DATA) \ + $(man_MANS) clean-local : rm -f *~ diff --git a/data/mate-power-backlight-helper.1 b/data/mate-power-backlight-helper.1 new file mode 100644 index 0000000..9ae0cf6 --- /dev/null +++ b/data/mate-power-backlight-helper.1 @@ -0,0 +1,29 @@ +.TH "MATE-POWER-BACKLIGHT-HELPER" "1" "21 April, 2014" "" "" +.SH NAME +mate-power-backlight-helper \- helper application for MATE's power management backlight control +.SH SYNOPSIS +\fBmate-power-backlight-helper\fR [ \fB\-\-help\fR ] [ \fB\-\-set-brightness\fR ] [ \fB\-\-get-brightness\fR ] [ \fB\-\-get-max-brightness\fR ] +.SH "DESCRIPTION" +\fBmate-power-backlight-helper\fR is a helper utility for controlling the backlight of TFT displays via the MATE power manager userspace daemon. +.PP +The \fBmate-power-backlight-helper\fR requires to be run with root privileges. +.SH "OPTIONS" +.TP +\fB\-\-help\fR +Show summary of options. +.TP +\fB\-\-set-brightness BRIGHTNESS_LEVEL\fR +Set the given brightness. +.TP +\fB\-\-get-brightness\fR +Get the current brightness. +.TP +\fB\-\-get-max-brightness\fR +Get the number of brightness levels supported. +.SH "SEE ALSO" +.PP +mate-power-manager (1). +.SH "AUTHOR" +.PP +This manual page has been written by Mike Gabriel for +the Debian system (but may be used by others). diff --git a/data/mate-power-manager.1 b/data/mate-power-manager.1 new file mode 100644 index 0000000..43c41e3 --- /dev/null +++ b/data/mate-power-manager.1 @@ -0,0 +1,29 @@ +.TH "MATE-POWER-MANAGER" "1" "29 March,2006" "" "" +.SH NAME +mate-power-manager \- MATE power manager userspace daemon +.SH SYNOPSIS +\fBmate-power-manager\fR [ \fB\-\-verbose\fR ] [ \fB\-\-debug\fR ] [ \fB\-\-help\fR ] +.SH "DESCRIPTION" +\fBmate-power-manager\fR is the backend program of the MATE power management infrastructure providing a complete and integrated solution to power management under the MATE desktop environment. +.PP +It supports features such as suspending, hibernating, screen blanking, cpu frequency switching and more in one small neat package. +.SH "OPTIONS" +.TP +\fB\-\-help\fR +Show summary of options. +.TP +\fB\-\-verbose\fR +Show extra debugging. +.TP +\fB\-\-no-daemon\fR +Do not detach \fBmate-power-manager\fR into the background so that error messages will be displayed on console. +.TP +\fB\-\-debug\fR +Only show specific debugging options. Useful for developers only. +.SH "SEE ALSO" +.PP +mate-power-preferences (1). +.SH "AUTHOR" +.PP +This manual page was written by Oliver Grawert for +the Debian system and updated by Ow Mun Heng diff --git a/data/mate-power-preferences.1 b/data/mate-power-preferences.1 new file mode 100644 index 0000000..f160c64 --- /dev/null +++ b/data/mate-power-preferences.1 @@ -0,0 +1,21 @@ +.TH "MATE-POWER-PREFERENCES" "1" "11 July, 2005" "" "" +.SH NAME +mate-power-preferences \- MATE power preferences GUI +.SH SYNOPSIS +\fBmate-power-preferences\fR [ \fB\-\-verbose\fR ] [ \fB\-\-help\fR ] +.SH "DESCRIPTION" +\fBmate-power-preferences\fR is the gui program for the mate power management infrastructure +.SH "OPTIONS" +.TP +\fB\-\-help\fR +Show summary of options. +.TP +\fB\-\-verbose\fR +Show extra debugging. +.SH "SEE ALSO" +.PP +mate-power-manager (1). +.SH "AUTHOR" +.PP +This manual page was written by Oliver Grawert for +the Debian system. diff --git a/data/mate-power-statistics.1 b/data/mate-power-statistics.1 new file mode 100644 index 0000000..38a2785 --- /dev/null +++ b/data/mate-power-statistics.1 @@ -0,0 +1,22 @@ +.TH "MATE-POWER-STATISTICS" "1" "11 December, 2007" "" "" +.SH NAME +mate-power-statistics \- MATE power statistics GUI +.SH SYNOPSIS +\fBmate-power-statistics\fR [ \fB\-\-verbose\fR ] [ \fB\-\-help\fR ] +.SH "DESCRIPTION" +\fBmate-power-statistics\fR is the gui program for the mate power management infrastructure. +.PP +It allows users to visualize the power consumption of laptop hardware. +.SH "OPTIONS" +.TP +\fB\-\-help\fR +Show summary of options. +.TP +\fB\-\-verbose\fR +Show extra debugging. +.SH "SEE ALSO" +.PP +mate-power-manager (1), mate-power-preferences (1). +.SH "AUTHOR" +.PP +This manual page was written by Simon Zheng . -- cgit v1.2.1