[lightsoff/arnaudb/rework-ui] Add a man page.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [lightsoff/arnaudb/rework-ui] Add a man page.
- Date: Sat, 21 Nov 2020 12:56:51 +0000 (UTC)
commit f225ae20e773999268077911dcb4eea88fd956bd
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Sat Nov 21 13:54:15 2020 +0100
Add a man page.
Fixes #6.
data/lightsoff.6 | 40 ++++++++++++++++++++++++++++++++++++++++
data/meson.build | 3 +++
2 files changed, 43 insertions(+)
---
diff --git a/data/lightsoff.6 b/data/lightsoff.6
new file mode 100644
index 0000000..78f1583
--- /dev/null
+++ b/data/lightsoff.6
@@ -0,0 +1,40 @@
+.\" Copyright (C) 2020 Arnaud Bonatti <arnaud bonatti gmail com>
+.\"
+.\" This file is part of LightsOff.
+.\"
+.\" LightsOff is free software: you can redistribute it and/or modify
+.\" it under the terms of the GNU General Public License as published by
+.\" the Free Software Foundation, either version 2 of the License, or
+.\" (at your option) any later version.
+.\"
+.\" LightsOff is distributed in the hope that it will be useful,
+.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
+.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+.\" GNU General Public License for more details.
+.\"
+.\" You should have received a copy of the GNU General Public License
+.\" along with LightsOff. If not, see <https://www.gnu.org/licenses/>.
+.TH LIGHTSOFF 6 "2020\-11\-21" "GNOME"
+.SH NAME
+LightsOff \- Turn off all the lights
+.SH SYNOPSIS
+.B lightsoff
+.RI [ OPTION... ]
+.\" copied from the AppData file
+.SH DESCRIPTION
+Lights Off is a collection of light switch puzzles. Clicking on a light
+toggles it either on or off, but also toggles all the surrounding lights,
+too. Your objective is simple: turn off all the lights!
+
+Players who delight in turning off lights will enjoy the huge number of
+levels.
+.SH OPTIONS
+.TP
+.B \-v, \-\-version
+Prints the program version and exits.
+.P
+This program also accepts the standard GTK+ options.
+.SH AUTHORS
+.B lightsoff
+was written by Tim Horton and various other people.
+.P
diff --git a/data/meson.build b/data/meson.build
index db8a583..0ef736d 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -62,6 +62,9 @@ if appstream_util.found()
)
endif
+# Install man page
+install_man('@0@.6'.format(meson.project_name()))
+
# Gschema
install_data('org.gnome.LightsOff.gschema.xml',
install_dir: join_paths(datadir, 'glib-2.0', 'schemas'),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]