Build System: gzip man page with CMakelist.txt

This commit is contained in:
Philippe Pepiot 2009-04-22 23:54:38 +02:00
parent 1686d28607
commit 7cbb7832af
3 changed files with 185 additions and 4 deletions

View File

@ -119,11 +119,11 @@ macro(a_find_program var prg req)
endmacro()
find_program(GIT_EXECUTABLE git)
# program needed for man pages
a_find_program(GZIP_EXECUTABLE gzip TRUE)
# Generating CHANGELOG
if(EXISTS ${SOURCE_DIR}/.git/HEAD AND GIT_EXECUTABLE)
# generate
message("Git dir -- Generating changelog...")
execute_process(
COMMAND ${GIT_EXECUTABLE} log
@ -142,6 +142,14 @@ execute_process(
endif()
# gzip man pages
execute_process(
COMMAND ${GZIP_EXECUTABLE} -c ${SOURCE_DIR}/wmfs.1
OUTPUT_FILE ${BUILD_DIR}/wmfs.1.gz
)
# sets
# {{{ Install path and configuration variables
if(DEFINED PREFIX)
@ -220,7 +228,7 @@ set(PROJECT_TODO ${SOURCE_DIR}/TODO)
set(PROJECT_README ${SOURCE_DIR}/README)
set(PROJECT_CHANGELOG ${SOURCE_DIR}/CHANGELOG)
set(PROJECT_DEFAULT_CONF ${SOURCE_DIR}/wmfsrc)
set(WMFS_MAN1_FILES ${SOURCE_DIR}/wmfs.1.gz)
set(WMFS_MAN1_FILES ${BUILD_DIR}/wmfs.1.gz)
# installs
install(TARGETS ${PROJECT_NAME} RUNTIME DESTINATION bin)

173
wmfs.1 Normal file
View File

@ -0,0 +1,173 @@
.\" Title: wmfs
.\" Author:
.\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
.\" Date: 04/22/2009
.\" Manual: manual of wmfs
.\" Source: wmfs 0.1rc4 (On The Run)
.\"
.TH "WMFS" "1" "04/22/2009" "wmfs 0\&.1rc4 (On The Run)" "manual of wmfs"
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.SH "NAME"
wmfs \- Window Manager From Scratch
.SH "SYNOPSIS"
\fBwmfs\fR [\fB\-v\fR | \fB\-\-version\fR] [\fB\-h\fR | \fB\-\-help\fR] [ \fB\-i\fR | \fB\-\-info\fR]
.sp
.SH "DESCRIPTION"
\fBWMFS\fR is a basic, lightweight and dynamic tiling windows manager for X\&.
.sp
.SH "OPTIONS"
.PP
\fB\-v\fR, \fB\-\-version\fR
.RS 4
Print version information to standard output, then exit\&.
.RE
.PP
\fB\-h\fR, \fB\-\-help\fR
.RS 4
Print help information, then exit\&.
.RE
.PP
\fB\-i\fR, \fB\-\-info\fR
.RS 4
Print WMFS informations
.RE
.SH "DEFAULT KEY BINDINGS"
.PP
\fBControl + Return\fR
.RS 4
Run a terminal (urxvt by default)
.RE
.PP
\fBAlt + q\fR
.RS 4
Quit the selected client
.RE
.PP
\fBControl\-Alt\-Shift + q\fR
.RS 4
Exit WMFS
.RE
.PP
\fBControl + m \fR
.RS 4
Toggle maximize the selected client
.RE
.PP
\fBControl + b \fR
.RS 4
Toggle the bar position between top and bottom
.RE
.PP
\fBAlt + Tab\fR
.RS 4
Give the focus to the next client
.RE
.PP
\fBAlt\-Shift + Tab\fR
.RS 4
Give the focus to the previous client
.RE
.PP
\fBControl + Right\fR
.RS 4
Next tag
.RE
.PP
\fBControl + Left\fR
.RS 4
Previous tag
.RE
.PP
\fBControl + Up\fR
.RS 4
Next layout
.RE
.PP
\fBControl + Down\fR
.RS 4
Previous layout
.RE
.PP
\fBAlt + l\fR
.RS 4
Increase the mwfact (+0\&.025)
.RE
.PP
\fBAlt + h\fR
.RS 4
Decrease the mwfact (\-0\&.025)
.RE
.PP
\fBControl\-Alt + Left\fR
.RS 4
Move the selected client to the left
.RE
.PP
\fBControl\-Alt + Right\fR
.RS 4
Move the selected client to the right
.RE
.PP
\fBControl\-Alt + Up\fR
.RS 4
Up the selected client
.RE
.PP
\fBControl\-Alt + Down\fR
.RS 4
Down the selected client
.RE
.PP
\fBShift+Alt + Left\fR
.RS 4
Decrease the selected client size (horizontally)
.RE
.PP
\fBShift+Alt + Right\fR
.RS 4
Increase the selected client size (horizontally)
.RE
.PP
\fBShift+Alt + Up\fR
.RS 4
Decrease the selected client size (vertically)
.RE
.PP
\fBShift+Alt + Down\fR
.RS 4
Increase the selected client size (vertically)
.RE
.PP
\fBAlt + F[1\&.\&.9]\fR
.RS 4
Change tag view
.RE
.PP
\fBControl\-Shift +F[1\&.\&.9]\fR
.RS 4
Transfert the selected client to the wanted tag
.RE
.SH "CONFIGURATION"
WMFS is configured by \fI$HOME/\&.config/wmfs/wmfsrc\fR\&.
.sp
.SH "BUGS"
WMFS isn\'t stable for now\&. So it certainly contains some bugs\&.
.sp
.SH "AUTHORS"
Martin Duquesnoy <\fIxorg62@gmail\&.com\fR\&[1]> for the code\&.
.sp
.SH "WWW"
Main site: \fIhttp://wmfs\&.malikania\&.org\fR Bug tracker: \fIhttp://wmfs\&.malikania\&.org/projects/wmfs/issues\fR
.sp
.SH "COPYING"
WMFS is under the BSD license\&. See COPYING for more informations\&.
.sp
.SH "NOTES"
.IP " 1." 4
xorg62@gmail.com
.RS 4
\%mailto:xorg62@gmail.com
.RE

BIN
wmfs.1.gz

Binary file not shown.