1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-19 12:28:22 +01:00

doc: the man page for "wmsetbg" is now processed by a script

Because the tool's help page changes whether Xinerama support was compiled
or not, its man page have to reflect this, so instead of being simply
copied the file is processed with the 'replace-ac-keywords' script.

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
This commit is contained in:
Christophe CURIS
2015-04-06 17:57:59 +02:00
committed by Carlos R. Mafra
parent c743c4b77b
commit 355a2e6906
2 changed files with 13 additions and 8 deletions

View File

@@ -17,17 +17,17 @@ dist_man_MANS = \
wmagnify.1x \ wmagnify.1x \
wmgenmenu.1 \ wmgenmenu.1 \
wmmenugen.1 \ wmmenugen.1 \
wmsetbg.1x \
WPrefs.1x \ WPrefs.1x \
wxcopy.1x \ wxcopy.1x \
wxpaste.1x wxpaste.1x
man_MANS = \ man_MANS = \
wmaker.1x wmaker.1x \
wmsetbg.1x
MOSTLYCLEANFILES = wmaker.1x MOSTLYCLEANFILES = wmaker.1x wmsetbg.1x
EXTRA_DIST = wmaker.in EXTRA_DIST = wmaker.in wmsetbg.in
wmaker.1x: wmaker.in Makefile $(top_builddir)/config.h wmaker.1x: wmaker.in Makefile $(top_builddir)/config.h
$(AM_V_GEN)$(top_srcdir)/script/replace-ac-keywords.sh \ $(AM_V_GEN)$(top_srcdir)/script/replace-ac-keywords.sh \
@@ -36,6 +36,11 @@ wmaker.1x: wmaker.in Makefile $(top_builddir)/config.h
-D"pkgdatadir=$(pkgdatadir)" --replace "pkgdatadir" \ -D"pkgdatadir=$(pkgdatadir)" --replace "pkgdatadir" \
-o "wmaker.1x" "$(srcdir)/wmaker.in" -o "wmaker.1x" "$(srcdir)/wmaker.in"
wmsetbg.1x: wmsetbg.in Makefile $(top_builddir)/config.h
$(AM_V_GEN)$(top_srcdir)/script/replace-ac-keywords.sh \
--header "$(top_builddir)/config.h" --filter "USE_XINERAMA" \
-o "wmsetbg.1x" "$(srcdir)/wmsetbg.in"
# Create a 'silent rule' for our make check the same way automake does # Create a 'silent rule' for our make check the same way automake does
AM_V_CHKOPTS = $(am__v_CHKOPTS_$(V)) AM_V_CHKOPTS = $(am__v_CHKOPTS_$(V))
am__v_CHKOPTS_ = $(am__v_CHKOPTS_$(AM_DEFAULT_VERBOSITY)) am__v_CHKOPTS_ = $(am__v_CHKOPTS_$(AM_DEFAULT_VERBOSITY))
@@ -87,7 +92,7 @@ wmgenmenu-args:
wmsetbg-args: wmsetbg-args:
$(AM_V_CHKOPTS)$(top_srcdir)/script/check-cmdline-options-doc.sh \ $(AM_V_CHKOPTS)$(top_srcdir)/script/check-cmdline-options-doc.sh \
--program "$(top_builddir)/util/wmsetbg" --man-page "$(top_srcdir)/doc/wmsetbg.1x" --program "$(top_builddir)/util/wmsetbg" --man-page "wmsetbg.1x"
wxcopy-args: wxcopy-args:
$(AM_V_CHKOPTS)$(top_srcdir)/script/check-cmdline-options-doc.sh \ $(AM_V_CHKOPTS)$(top_srcdir)/script/check-cmdline-options-doc.sh \

View File

@@ -75,9 +75,9 @@ print the version of Window Maker from which the program comes
.TP .TP
.BR \-\-workspace | \-w " \fIworkspace\fP" .BR \-\-workspace | \-w " \fIworkspace\fP"
update background only for the specified \fIworkspace\fP update background only for the specified \fIworkspace\fP
.TP @USE_XINERAMA@.TP
.BR \-\-xinerama | \-X @USE_XINERAMA@.BR \-\-xinerama | \-X
stretch image across Xinerama heads @USE_XINERAMA@stretch image across Xinerama heads
.SH "INDEXED COLOR SCREENS" .SH "INDEXED COLOR SCREENS"
If your screen is not in a \fBTrue Color\fP configuration (generally sold as 16,777,216 colors) but If your screen is not in a \fBTrue Color\fP configuration (generally sold as 16,777,216 colors) but
in a indexed color mode (256 colors, 16 colors, ... which are based on a \fBColorMap\fP) then Window in a indexed color mode (256 colors, 16 colors, ... which are based on a \fBColorMap\fP) then Window