[libosmocore] 19/40: Added empty man pages

Ruben Undheim rubund-guest at moszumanska.debian.org
Wed Oct 14 12:43:23 UTC 2015


This is an automated email from the git hooks/post-receive script.

rubund-guest pushed a commit to branch master
in repository libosmocore.

commit 187858aa16330ab11cb543a091543725782f6d0d
Author: Ruben Undheim <ruben.undheim at gmail.com>
Date:   Wed Sep 16 19:21:46 2015 +0200

    Added empty man pages
---
 debian/libosmocore-utils.manpages |  1 +
 debian/man/genmanpages.sh         |  5 +++++
 debian/man/osmo-arfcn.txt         | 18 ++++++++++++++++++
 debian/man/osmo-auc-gen.txt       | 18 ++++++++++++++++++
 debian/rules                      |  6 ++++++
 5 files changed, 48 insertions(+)

diff --git a/debian/libosmocore-utils.manpages b/debian/libosmocore-utils.manpages
new file mode 100644
index 0000000..13cdaf4
--- /dev/null
+++ b/debian/libosmocore-utils.manpages
@@ -0,0 +1 @@
+debian/man/*.1
diff --git a/debian/man/genmanpages.sh b/debian/man/genmanpages.sh
new file mode 100755
index 0000000..b1f2b62
--- /dev/null
+++ b/debian/man/genmanpages.sh
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+
+txt2man -d "${CHANGELOG_DATE}" -t OSMO-ARFCN             -s 1 osmo-arfcn.txt           > osmo-arfcn.1
+txt2man -d "${CHANGELOG_DATE}" -t OSMO-AUC-GEN           -s 1 osmo-auc-gen.txt         > osmo-auc-gen.txt
diff --git a/debian/man/osmo-arfcn.txt b/debian/man/osmo-arfcn.txt
new file mode 100644
index 0000000..1230f6c
--- /dev/null
+++ b/debian/man/osmo-arfcn.txt
@@ -0,0 +1,18 @@
+NAME
+  osmo-arfcn - blabla
+
+
+SYNOPSIS
+  osmo-arfcn [options]
+
+
+
+OPTIONS
+
+
+
+AUTHOR
+  This manual page was written by Ruben Undheim <ruben.undheim at gmail.com> for the Debian project (and may be used by others).
+
+
+
diff --git a/debian/man/osmo-auc-gen.txt b/debian/man/osmo-auc-gen.txt
new file mode 100644
index 0000000..9e5cb68
--- /dev/null
+++ b/debian/man/osmo-auc-gen.txt
@@ -0,0 +1,18 @@
+NAME
+  osmo-auc-gen - blabla
+
+
+SYNOPSIS
+  osmo-auc-gen [options]
+
+
+
+OPTIONS
+
+
+
+AUTHOR
+  This manual page was written by Ruben Undheim <ruben.undheim at gmail.com> for the Debian project (and may be used by others).
+
+
+
diff --git a/debian/rules b/debian/rules
index ca8e33e..9dd8072 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,6 +6,7 @@
 DEBIAN  := $(shell dpkg-parsechangelog | grep ^Version: | cut -d' ' -f2)
 DEBVERS := $(shell echo '$(DEBIAN)' | cut -d- -f1)
 VERSION := $(shell echo '$(DEBVERS)' | sed -e 's/[+-].*//' -e 's/~//g')
+CHANGELOG_DATE := $(shell date -d "`dpkg-parsechangelog --show-field Date`" +"%d %B %Y")
 
 export DEB_BUILD_HARDENING=1
 
@@ -26,3 +27,8 @@ override_dh_auto_test:
 override_dh_autoreconf:
 	echo $(VERSION) > .tarball-version
 	dh_autoreconf
+
+override_dh_installman:
+	cd debian/man ; CHANGELOG_DATE="$(CHANGELOG_DATE)" ./genmanpages.sh
+	dh_installman
+

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/libosmocore.git



More information about the debian-science-commits mailing list