commit 1b9ec107
Updated the packaged man-file
Changed files
| M | man/README before |
| A | man/blockattack.man |
| D | man/blockattack.sgml before |
| M | packdata.sh before |
diff --git a/man/README b/man/README
index d0403d8..a186e9d 100644
--- a/man/README
+++ b/man/README
@@ -1,2 +1,6 @@
to regenerate the manpage:
+gzip -9 -c blockattack.man > blockattack.6.gz
+
+COLUMNS=300 help2man --no-info --section=6 ../Game/blockattack > blockattack.man
+
docbook-to-man blockattack.sgml|gzip -9 > blockattack.6.gz
diff --git a/man/blockattack.man b/man/blockattack.man
new file mode 100644
index 0000000..c4cfdd8
--- /dev/null
+++ b/man/blockattack.man
@@ -0,0 +1,52 @@
+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.2.
+.TH BLOCKATTACK "6" "March 2016" "blockattack : Block Attack - Rise of the Blocks 2.0.0-SNAPSHOT" "Games"
+.SH NAME
+blockattack \- manual page for blockattack : Block Attack - Rise of the Blocks 2.0.0-SNAPSHOT
+.SH SYNOPSIS
+.B blockattack
+[\fI\,OPTION\/\fR]...
+.SH DESCRIPTION
+Block Attack \- Rise of the blocks 2.0.0\-SNAPSHOT
+.PP
+www.blockattack.net
+.SS "Allowed options:"
+.TP
+\fB\-h\fR [ \fB\-\-help\fR ]
+Displays this message
+.TP
+\fB\-\-version\fR
+Display the version information
+.TP
+\fB\-\-nosound\fR
+Disables the sound. Can be used if sound errors prevents you from starting
+.TP
+\fB\-\-priority\fR
+Causes the game to not sleep between frames.
+.TP
+\fB\-\-verbose\-basic\fR
+Enables basic verbose messages
+.TP
+\fB\-\-verbose\-game\-controller\fR
+Enables verbose messages regarding controllers
+.TP
+\fB\-\-print\-search\-path\fR
+Prints the search path and quits
+.TP
+\fB\-\-bind\-text\-domain\fR arg
+Overwrites the bind text domain used for finding translations. Default: "/usr/local/share/blockattack/locale"
+.TP
+\fB\-\-homepath\fR arg
+Set the home folder where settings are saved. The directory must exsist. Default: "/home/poul/.local/share/blockattack"
+.SH EXAMPLES
+.TP
+blockattack
+Start the game normally
+.TP
+blockattack \-\-nosound
+Start the game without sound. Can be used if sound problems prevents the game from starting
+.SH COPYRIGHT
+Copyright \(co 2005\-2016 Poul Sander
+License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>
+.br
+This is free software: you are free to change and redistribute it.
+There is NO WARRANTY, to the extent permitted by law.
diff --git a/man/blockattack.sgml b/man/blockattack.sgml
deleted file mode 100644
index 355272d..0000000
--- a/man/blockattack.sgml
+++ /dev/null
@@ -1,115 +0,0 @@
-<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
-
-<!-- Process this file with docbook-to-man to generate an nroff manual
- page: `docbook-to-man manpage.sgml > manpage.1'. You may view
- the manual page with: `docbook-to-man manpage.sgml | nroff -man |
- less'. A typical entry in a Makefile or Makefile.am is:
-
-manpage.1: manpage.sgml
- docbook-to-man $< > $@
-
-
- The docbook-to-man binary is found in the docbook-to-man package.
- Please remember that if you create the nroff version in one of the
- debian/rules file targets (such as build), you will need to include
- docbook-to-man in your Build-Depends control field.
-
- -->
-
- <!-- Fill in your name for FIRSTNAME and SURNAME. -->
- <!ENTITY dhfirstname "<firstname>Goneri</firstname>">
- <!ENTITY dhsurname "<surname>Le Bouder</surname>">
- <!-- Please adjust the date whenever revising the manpage. -->
- <!ENTITY dhdate "<date>mai 19, 2006</date>">
- <!-- SECTION should be 1-8, maybe w/ subsection other parameters are
- allowed: see man(7), man(1). -->
- <!ENTITY dhsection "<manvolnum>6</manvolnum>">
- <!ENTITY dhemail "<email>goneri@rulezlan.org</email>">
- <!ENTITY dhusername "Goneri Le Bouder">
- <!ENTITY dhucpackage "<refentrytitle>BLOCKATTACK</refentrytitle>">
- <!ENTITY dhpackage "blockattack">
-
- <!ENTITY debian "<productname>Debian</productname>">
- <!ENTITY gnu "<acronym>GNU</acronym>">
- <!ENTITY gpl "&gnu; <acronym>GPL</acronym>">
-]>
-
-<refentry>
- <refentryinfo>
- <address>
- &dhemail;
- </address>
- <author>
- &dhfirstname;
- &dhsurname;
- </author>
- <copyright>
- <year>2006</year>
- <holder>&dhusername;</holder>
- </copyright>
- &dhdate;
- </refentryinfo>
- <refmeta>
- &dhucpackage;
-
- &dhsection;
- </refmeta>
- <refnamediv>
- <refname>&dhpackage;</refname>
-
- <refpurpose>Rise of the Blocks</refpurpose>
- </refnamediv>
- <refsect1>
- <title>DESCRIPTION</title>
-
- <para>This manual page documents briefly the
- <command>&dhpackage;</command>.
- </para>
-
- <para>This manual page was written for the &debian; distribution
- because the original program does not have a manual page.
- .</para>
-
-
- </refsect1>
- <refsect1>
- <title>OPTIONS</title>
-
- <para>These programs don't have specific option.</para>
-
- </refsect1>
- <refsect1>
- <title>AUTHOR</title>
-
- <para>This manual page was written by &dhusername; &dhemail; for
- the &debian; system (but may be used by others). Permission is
- granted to copy, distribute and/or modify this document under
- the terms of the &gnu; General Public License, Version 2 any
- later version published by the Free Software Foundation.
- </para>
- <para>
- On Debian systems, the complete text of the GNU General Public
- License can be found in /usr/share/common-licenses/GPL.
- </para>
-
- </refsect1>
-</refentry>
-
-<!-- Keep this comment at the end of the file
-Local variables:
-mode: sgml
-sgml-omittag:t
-sgml-shorttag:t
-sgml-minimize-attributes:nil
-sgml-always-quote-attributes:t
-sgml-indent-step:2
-sgml-indent-data:t
-sgml-parent-document:nil
-sgml-default-dtd-file:nil
-sgml-exposed-tags:nil
-sgml-local-catalogs:nil
-sgml-local-ecat-files:nil
-End:
--->
-
-
diff --git a/packdata.sh b/packdata.sh
index 59d70a1..7dc75a5 100755
--- a/packdata.sh
+++ b/packdata.sh
@@ -4,7 +4,7 @@ zip -9rj Game/blockattack.data source/AUTH
cd Game/data
zip -9r ../blockattack.data * -x \*svn*
cd ../../man
-docbook-to-man blockattack.sgml|gzip -9 > blockattack.6.gz
+gzip -9 -c blockattack.man > blockattack.6.gz
cd ../source/misc/translation/
./build_mo_all.sh