diff options
author | Ruben Undheim <ruben.undheim@gmail.com> | 2018-08-27 17:51:38 +0200 |
---|---|---|
committer | Ruben Undheim <ruben.undheim@gmail.com> | 2018-08-27 17:51:38 +0200 |
commit | ce6c0165be44c5ea4ece0ef977f4f5e75c7bdeb2 (patch) | |
tree | 5e379c8bf0df14e331b1f51a180c20d074ee8809 | |
parent | 6ed28523e5aa6d82a493dd20262754718dbcbc85 (diff) |
Prepare for writing man pages
-rw-r--r-- | debian/TODO | 2 | ||||
-rw-r--r-- | debian/control | 3 | ||||
-rwxr-xr-x | debian/man/genmanpages.sh | 8 | ||||
-rw-r--r-- | debian/man/nextepc-hssd.txt | 16 | ||||
-rw-r--r-- | debian/man/nextepc-mmed.txt | 16 | ||||
-rw-r--r-- | debian/man/nextepc-pcrfd.txt | 16 | ||||
-rw-r--r-- | debian/man/nextepc-pgwd.txt | 16 | ||||
-rw-r--r-- | debian/man/nextepc-sgwd.txt | 16 | ||||
-rw-r--r-- | debian/nextepc-hss.manpages | 1 | ||||
-rw-r--r-- | debian/nextepc-mme.manpages | 1 | ||||
-rw-r--r-- | debian/nextepc-pcrf.manpages | 1 | ||||
-rw-r--r-- | debian/nextepc-pgw.manpages | 1 | ||||
-rw-r--r-- | debian/nextepc-sgw.manpages | 1 | ||||
-rwxr-xr-x | debian/rules | 5 |
14 files changed, 102 insertions, 1 deletions
diff --git a/debian/TODO b/debian/TODO index fecc354..db3f42a 100644 --- a/debian/TODO +++ b/debian/TODO @@ -1,3 +1,5 @@ +Fill in info into man pages + W: nextepc source: autotools-pkg-config-macro-not-cross-compilation-safe configure.ac (line 82) I: nextepc source: file-contains-fixme-placeholder debian/rules:21 FIXME I: nextepc source: testsuite-autopkgtest-missing diff --git a/debian/control b/debian/control index a119d35..9d82713 100644 --- a/debian/control +++ b/debian/control @@ -15,7 +15,8 @@ Build-Depends: debhelper (>= 11), libssl-dev, libidn11-dev, libbson-dev, - libfreediameter-dev + libfreediameter-dev, + txt2man Standards-Version: 4.1.5 Vcs-Browser: https://salsa.debian.org/debian-mobcom-team/nextepc Vcs-Git: https://salsa.debian.org/debian-mobcom-team/nextepc.git diff --git a/debian/man/genmanpages.sh b/debian/man/genmanpages.sh new file mode 100755 index 0000000..f2c89d2 --- /dev/null +++ b/debian/man/genmanpages.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +txt2man -d "${CHANGELOG_DATE}" -t NEXTEPC-HSSD -s 1 nextepc-hssd.txt > nextepc-hssd.1 +txt2man -d "${CHANGELOG_DATE}" -t NEXTEPC-MMED -s 1 nextepc-mmed.txt > nextepc-mmed.1 +txt2man -d "${CHANGELOG_DATE}" -t NEXTEPC-PCRFD -s 1 nextepc-pcrfd.txt > nextepc-pcrfd.1 +txt2man -d "${CHANGELOG_DATE}" -t NEXTEPC-PGWD -s 1 nextepc-pgwd.txt > nextepc-pgwd.1 +txt2man -d "${CHANGELOG_DATE}" -t NEXTEPC-SGWD -s 1 nextepc-sgwd.txt > nextepc-sgwd.1 + diff --git a/debian/man/nextepc-hssd.txt b/debian/man/nextepc-hssd.txt new file mode 100644 index 0000000..f9e87e1 --- /dev/null +++ b/debian/man/nextepc-hssd.txt @@ -0,0 +1,16 @@ +NAME + nextepc-hssd - TODO + +SYNOPSIS + nextepc-hssd [options] TODO + +OPTIONS + + -t [<TODO>:]<TODO> + TODO description + + +AUTHOR + + This manual page was written by Ruben Undheim <ruben.undheim@gmail.com> + for the Debian project (and may be used by others). diff --git a/debian/man/nextepc-mmed.txt b/debian/man/nextepc-mmed.txt new file mode 100644 index 0000000..38f117b --- /dev/null +++ b/debian/man/nextepc-mmed.txt @@ -0,0 +1,16 @@ +NAME + nextepc-mmed - TODO + +SYNOPSIS + nextepc-mmed [options] TODO + +OPTIONS + + -t [<TODO>:]<TODO> + TODO description + + +AUTHOR + + This manual page was written by Ruben Undheim <ruben.undheim@gmail.com> + for the Debian project (and may be used by others). diff --git a/debian/man/nextepc-pcrfd.txt b/debian/man/nextepc-pcrfd.txt new file mode 100644 index 0000000..972f5ec --- /dev/null +++ b/debian/man/nextepc-pcrfd.txt @@ -0,0 +1,16 @@ +NAME + nextepc-pcrfd - TODO + +SYNOPSIS + nextepc-pcrfd [options] TODO + +OPTIONS + + -t [<TODO>:]<TODO> + TODO description + + +AUTHOR + + This manual page was written by Ruben Undheim <ruben.undheim@gmail.com> + for the Debian project (and may be used by others). diff --git a/debian/man/nextepc-pgwd.txt b/debian/man/nextepc-pgwd.txt new file mode 100644 index 0000000..f681a68 --- /dev/null +++ b/debian/man/nextepc-pgwd.txt @@ -0,0 +1,16 @@ +NAME + nextepc-pgwd - TODO + +SYNOPSIS + nextepc-pgwd [options] TODO + +OPTIONS + + -t [<TODO>:]<TODO> + TODO description + + +AUTHOR + + This manual page was written by Ruben Undheim <ruben.undheim@gmail.com> + for the Debian project (and may be used by others). diff --git a/debian/man/nextepc-sgwd.txt b/debian/man/nextepc-sgwd.txt new file mode 100644 index 0000000..1468b86 --- /dev/null +++ b/debian/man/nextepc-sgwd.txt @@ -0,0 +1,16 @@ +NAME + nextepc-sgwd - TODO + +SYNOPSIS + nextepc-sgwd [options] TODO + +OPTIONS + + -t [<TODO>:]<TODO> + TODO description + + +AUTHOR + + This manual page was written by Ruben Undheim <ruben.undheim@gmail.com> + for the Debian project (and may be used by others). diff --git a/debian/nextepc-hss.manpages b/debian/nextepc-hss.manpages new file mode 100644 index 0000000..81a6c09 --- /dev/null +++ b/debian/nextepc-hss.manpages @@ -0,0 +1 @@ +debian/man/nextepc-hssd.1 diff --git a/debian/nextepc-mme.manpages b/debian/nextepc-mme.manpages new file mode 100644 index 0000000..7d2481f --- /dev/null +++ b/debian/nextepc-mme.manpages @@ -0,0 +1 @@ +debian/man/nextepc-mmed.1 diff --git a/debian/nextepc-pcrf.manpages b/debian/nextepc-pcrf.manpages new file mode 100644 index 0000000..23347f0 --- /dev/null +++ b/debian/nextepc-pcrf.manpages @@ -0,0 +1 @@ +debian/man/nextepc-pcrfd.1 diff --git a/debian/nextepc-pgw.manpages b/debian/nextepc-pgw.manpages new file mode 100644 index 0000000..ff0c7e6 --- /dev/null +++ b/debian/nextepc-pgw.manpages @@ -0,0 +1 @@ +debian/man/nextepc-pgwd.1 diff --git a/debian/nextepc-sgw.manpages b/debian/nextepc-sgw.manpages new file mode 100644 index 0000000..cf77e4c --- /dev/null +++ b/debian/nextepc-sgw.manpages @@ -0,0 +1 @@ +debian/man/nextepc-sgwd.1 diff --git a/debian/rules b/debian/rules index 3b54692..26d6f24 100755 --- a/debian/rules +++ b/debian/rules @@ -16,6 +16,7 @@ export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed override_dh_auto_clean: dh_auto_clean $(RM) config.nice test/atconfig + $(RM) debian/man/*.1 override_dh_auto_test: # FIXME Temporarily disabled @@ -24,3 +25,7 @@ override_dh_auto_test: # sctp_exclude_list="-x testsctp"; \ #fi; \ #lib/core/test/testcore $$sctp_exclude_list || exit; \ + +override_dh_installman: + cd debian/man ; CHANGELOG_DATE="$(CHANGELOG_DATE)" ./genmanpages.sh + dh_installman |