wmclock: Update manpage.

Changes include:
- Rename to wmclock.1.
- Use @prefix@ instead of /usr for the location of the language xpm files.
- Hardcode date instead of picking it up from a variable in the Makefile.
This commit is contained in:
Doug Torrance 2014-12-11 09:18:14 -06:00 committed by Carlos R. Mafra
parent 2e3c8ec5a1
commit 43310c6524
3 changed files with 5 additions and 5 deletions

View file

@ -3,5 +3,5 @@ wmclock_SOURCES = dynlist.c dynlist.h wmclock.c \
xpm/date.xpm xpm/led.xpm xpm/mask.xbm xpm/mask.xbm
AM_CFLAGS = $(x11_CFLAGS) $(xpm_CFLAGS) $(xext_CFLAGS)
LIBS += $(x11_LIBS) $(xpm_LIBS) $(xext_LIBS)
dist_man_MANS = wmclock.man
dist_man_MANS = wmclock.1
nobase_dist_pkgdata_DATA = lang.*/*.xpm

View file

@ -25,5 +25,5 @@ ln -s "./${LangDir}/weekday.xpm" .
PKG_CHECK_MODULES([x11], [x11])
PKG_CHECK_MODULES([xpm], [xpm])
PKG_CHECK_MODULES([xext], [xext])
AC_CONFIG_FILES([Makefile wmclock.man])
AC_CONFIG_FILES([Makefile wmclock.1])
AC_OUTPUT

View file

@ -21,7 +21,7 @@
.TP \\$1
..
.\" ----------------------------------------------------------------
.TH wmclock 1x "@DATE@" "Version @VERSION@"
.TH wmclock 1 "2014-Dec-11" "Version @VERSION@"
.\" ----------------------------------------------------------------
.SH NAME
wmclock \- A dockable clock for the Window Maker window manager
@ -169,7 +169,7 @@ at the bottom.
You can find XPM files for a variety of languages in:
.PP
.RS
.BR /usr/share/wmclock/
.BR "@prefix@/share/wmclock"
.RE
.PP
For example, to have a French display, you could use the following
@ -177,7 +177,7 @@ command line:
.PP
.RS
.TQ
wmclock \-monthxpm /usr/share/wmclock/lang.french/month.xpm \-weekdayxpm /usr/share/wmclock/lang.french/weekday.xpm
wmclock \-monthxpm @prefix@/share/wmclock/lang.french/month.xpm \-weekdayxpm @prefix@/share/wmclock/lang.french/weekday.xpm
.RE
.PP
.SS Obsolete Options