aboutsummaryrefslogtreecommitdiff
path: root/dev/createMan.sh
diff options
context:
space:
mode:
authorBarattero Laurent <laurent@larueluberlu.net>2014-01-27 10:03:12 +0100
committerBarattero Laurent <laurent@larueluberlu.net>2014-01-27 10:03:12 +0100
commit0c924969382da97ab2012948cfe2022fb7c39696 (patch)
tree47f41505bb1885ce43ac5b7251a8654365ee32dd /dev/createMan.sh
parent233e76503b5865232985ab4c9e53477ab249a38c (diff)
Improves Man
Diffstat (limited to 'dev/createMan.sh')
-rwxr-xr-xdev/createMan.sh43
1 files changed, 43 insertions, 0 deletions
diff --git a/dev/createMan.sh b/dev/createMan.sh
new file mode 100755
index 0000000..6dda7da
--- /dev/null
+++ b/dev/createMan.sh
@@ -0,0 +1,43 @@
+#!/bin/bash -
+# Copyright (C) 2014 BARRATERO Laurent
+#
+# AeroUp 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 3 of the License, or
+# (at your option) any later version.
+#
+# Aeroup 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 this program; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+#===============================================================================
+#
+# FILE: createMan.sh
+#
+# USAGE: ./createMan.sh
+#
+# DESCRIPTION: Create the man files
+#
+# OPTIONS: ---
+# REQUIREMENTS: ---
+# BUGS: ---
+# NOTES: ---
+# AUTHOR: BARATTERO Laurent, laurentBa<at>larueluberlu.net
+# ORGANIZATION: La rue Luberlu
+# CREATED: 27/01/2014 09:32:46 CET
+# REVISION: ---
+#===============================================================================
+
+set -o nounset # Treat unset variables as an error
+
+rm ../man/aeroup.man.txt
+rm ../man/aeroup.man.html
+
+man ../man/aeroup.man > ../man/aeroup.man.txt
+man ../man/aeroup.man | man2html -noheads -title "AeroUp Man Page" -compress > ../man/aeroup.man.html
+