[Xfce4-commits] [panel-plugins/xfce4-sensors-plugin] 01/10: added manpage for standalone application
noreply at xfce.org
noreply at xfce.org
Sat Mar 18 18:26:41 CET 2017
This is an automated email from the git hooks/post-receive script.
timystery pushed a commit to branch master
in repository panel-plugins/xfce4-sensors-plugin.
commit a538c5c824ba67d1481d9cbbec5e951f883f2671
Author: Fabian <timystery at arcor.de>
Date: Wed Mar 15 20:53:26 2017 +0100
added manpage for standalone application
---
configure.ac.in | 1 +
src/Makefile.am | 11 +++++++++--
src/xfce4-sensors.1.in | 40 ++++++++++++++++++++++++++++++++++++++++
3 files changed, 50 insertions(+), 2 deletions(-)
diff --git a/configure.ac.in b/configure.ac.in
index 2c37a13..10735dc 100644
--- a/configure.ac.in
+++ b/configure.ac.in
@@ -375,6 +375,7 @@ AC_SUBST([PLATFORM_LDFLAGS])
AC_OUTPUT([
Makefile
xfce4-sensors-plugin.spec
+src/xfce4-sensors.1
include/Makefile
lib/Makefile
lib/libxfce4sensors-1.0.pc
diff --git a/src/Makefile.am b/src/Makefile.am
index 3107bcf..f2f3aeb 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -37,12 +37,19 @@ xfce4_sensors_DEPENDENCIES = \
# .desktop file
desktop_in_files = xfce4-sensors.desktop.in
+
+manualdir = $(prefix)/man/man1
+manual_DATA = \
+ xfce4-sensors.1
+
desktopdir = $(datadir)/applications
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
@INTLTOOL_DESKTOP_RULE@
EXTRA_DIST = \
- $(desktop_in_files)
+ $(desktop_in_files) \
+ xfce4-sensors.1.in
DISTCLEANFILES = \
- $(desktop_DATA)
+ $(desktop_DATA) \
+ xfce4-sensors.1
diff --git a/src/xfce4-sensors.1.in b/src/xfce4-sensors.1.in
new file mode 100644
index 0000000..095233b
--- /dev/null
+++ b/src/xfce4-sensors.1.in
@@ -0,0 +1,40 @@
+.\" Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH XFCE4-SENSORS 1 2017
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp <n> insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+Xfce 4 Sensors \- sensors viewer for Xfce 4
+.SH SYNOPSIS
+.B xfce4-sensors
+.RI [ option ]
+.br
+.SH DESCRIPTION
+.B xfce4-sensors
+is a sensors viewer for the Xfce 4 project and the sensors panel plugin.
+.SH OPTIONS
+.TP
+\-h, --help
+display a short help text
+.TP
+\-l, --license
+print license information
+.TP
+\-V, --version
+print version information
+.SH AUTHOR
+Fabian Nowak <timystery at arcor.de>.
+.PP
+This manual page was written by Fabian Nowak <timystery at arcor.de>.
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list