From a18911abb94ef0cfa55282b96027f501a82652a6 Mon Sep 17 00:00:00 2001 From: Gaetan Nadon Date: Wed, 19 Jan 2011 10:06:55 -0500 Subject: config: move man pages into their own directory Use services provided by XORG_MANPAGE_SECTIONS. Use standard Makefile for man pages. Signed-off-by: Gaetan Nadon --- man/Makefile.am | 12 +++++++++++ man/xbacklight.man | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 70 insertions(+) create mode 100644 man/Makefile.am create mode 100644 man/xbacklight.man (limited to 'man') diff --git a/man/Makefile.am b/man/Makefile.am new file mode 100644 index 0000000..9505afd --- /dev/null +++ b/man/Makefile.am @@ -0,0 +1,12 @@ + +appmandir = $(APP_MAN_DIR) +appman_PRE = xbacklight.man +appman_DATA = $(appman_PRE:man=$(APP_MAN_SUFFIX)) + +EXTRA_DIST = $(appman_PRE) +CLEANFILES = $(appman_DATA) +SUFFIXES = .$(APP_MAN_SUFFIX) .man + +# String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure +.man.$(APP_MAN_SUFFIX): + $(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@ diff --git a/man/xbacklight.man b/man/xbacklight.man new file mode 100644 index 0000000..2983637 --- /dev/null +++ b/man/xbacklight.man @@ -0,0 +1,58 @@ +.\" +.\" Copyright © 2007 Keith Packard.\" +.\" Permission to use, copy, modify, distribute, and sell this software and its +.\" documentation for any purpose is hereby granted without fee, provided that +.\" the above copyright notice appear in all copies and that both that +.\" copyright notice and this permission notice appear in supporting +.\" documentation, and that the name of Keith Packard not be used in +.\" advertising or publicity pertaining to distribution of the software without +.\" specific, written prior permission. Keith Packard makes no +.\" representations about the suitability of this software for any purpose. It +.\" is provided "as is" without express or implied warranty. +.\" +.\" KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, +.\" INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO +.\" EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR +.\" CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, +.\" DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER +.\" TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +.\" PERFORMANCE OF THIS SOFTWARE. +.\" +.\" +.TH XBACKLIGHT __appmansuffix__ __vendorversion__ +.SH NAME +xbacklight \- adjust backlight brightness using RandR extension +.SH SYNOPSIS +.B "xbacklight" +[-help] [-display \fIdisplay\fP] +[-get] +[-set percent] +[-inc percent] +[-dec percent] +.SH DESCRIPTION +.I Xbacklight +is used to adjust the backlight brightness where supported. It finds all +outputs on the X server supporting backlight brightness control and changes +them all in the same way. +.IP -get +Print out the current backlight brightness of each output with such a +control. The brightness is represented as a percentage of the maximum +brightness supported. +.IP "-set \fIpercent\fP" +Sets each backlight brightness to the specified level. +.IP "-inc \fIpercent\fP" +Increases brightness by the specified amount. +.IP "-dec \fIpercent\fP" +Decreases brightness by the specified amount. +.IP -help +Print out a summary of the usage and exit. +.IP "-time \fImilliseconds\fP" +Length of time to spend fading the backlight between old and new value. +Default is 200. +.IP "-steps \fInumber\fP" +Number of steps to take while fading. Default is 20. +.SH "SEE ALSO" +Xrandr(__libmansuffix__) +.SH AUTHORS +Keith Packard, +Open Source Technology Center, Intel Corporation. -- cgit v1.2.3