Commit 97ad930a authored by Elena Grandi's avatar Elena Grandi
Browse files

build the manpage while building the package.

parent b79f46a8
......@@ -3,6 +3,9 @@ fuss-server (10.0.31) UNRELEASED; urgency=medium
[ Simone Piccardi ]
* Updating man page
[ Elena Grandi ]
* build the manpage while building the package.
-- Elena Grandi <elena@truelite.it> Mon, 18 Jan 2021 10:13:09 +0100
fuss-server (10.0.30) unstable; urgency=medium
......
fuss-server.8
......@@ -2,7 +2,9 @@ Source: fuss-server
Section: net
Priority: optional
Maintainer: FUSS team <packages@fuss.bz.it>
Build-Depends: debhelper-compat (= 12)
Build-Depends:
debhelper-compat (= 12),
python3-docutils,
Standards-Version: 4.4.1
Rules-Requires-Root: no
......
......@@ -11,3 +11,7 @@
%:
dh $@
override_dh_auto_build:
dh_auto_build
rst2man fuss-server.8.rst > fuss-server.8
.\" Man page generated from reStructuredText.
.
.TH FUSS-SERVER 8 "2021-02-26" "10.0" ""
.SH NAME
fuss-server \- configure a FUSS server
.
.nr rst2man-indent-level 0
.
.de1 rstReportMargin
\\$1 \\n[an-margin]
level \\n[rst2man-indent-level]
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
-
\\n[rst2man-indent0]
\\n[rst2man-indent1]
\\n[rst2man-indent2]
..
.de1 INDENT
.\" .rstReportMargin pre:
. RS \\$1
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
. nr rst2man-indent-level +1
.\" .rstReportMargin post:
..
.de UNINDENT
. RE
.\" indent \\n[an-margin]
.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
.nr rst2man-indent-level -1
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
.SH SYNOPSIS
.sp
fuss\-server [\-h] {create,upgrade,configure,purge,test,cp} ...
.SH DESCRIPTION
.sp
This manual page briefly documents the fuss\-server command.
.SH COMMONLY USED COMMANDS
.INDENT 0.0
.TP
.B create
Configure all service and create file needed to run as a FUSS server.
.TP
.B upgrade
Upgrade the configuration of an existing FUSS server.
.TP
.B configure
Create or recreate a configuration file for the FUSS server.
.INDENT 7.0
.TP
.B \-r\fP,\fB \-\-reconfigure\-all
Reconfigure all options
.TP
.B \-b\fP,\fB \-\-bootstrap
Delete all current configuration and start with a new empty file
.TP
.BI \-f \ CONFIGURATION_FILE\fR,\fB \ \-\-configuration\-file \ CONFIGURATION_FILE
Use a different configuration file (for testing)
.UNINDENT
.TP
.B purge
Purge all FUSS server specific file, to consent a clean use of create
.TP
.B test
Test the configuration of a FUSS server.
.TP
.B cp
Configure a captive portal
.UNINDENT
.SH FILES
.sp
/etc/fuss\-server/*
.\" Build the manpage with rst2man fuss-server.8.rst > fuss-server.8
.\" See also
.\" http://docutils.sourceforge.net/sandbox/manpage-writer/rst2man.txt
.
.\" Generated by docutils manpage writer.
.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment