[DRE-commits] [sup-mail] 01/01: Add script to regenerate man pages from upstream

Per Andersson avtobiff at moszumanska.debian.org
Tue Oct 7 10:56:29 UTC 2014


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

avtobiff pushed a commit to branch master
in repository sup-mail.

commit 57e3e25e14ab8271459ac9819facfa861d3af557
Author: Per Andersson <avtobiff at gmail.com>
Date:   Tue Oct 7 12:56:14 2014 +0200

    Add script to regenerate man pages from upstream
---
 debian/changelog               |  6 ++++++
 debian/regenerate-man-pages.sh | 13 +++++++++++++
 2 files changed, 19 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 00856a0..3057b4c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+sup-mail (0.20.0-2) UNRELEASED; urgency=medium
+
+  * Added script for regenerating man pages from upstream.
+
+ -- Per Andersson <avtobiff at debian.org>  Tue, 07 Oct 2014 12:55:51 +0200
+
 sup-mail (0.20.0-1) unstable; urgency=low
 
   * New upstream release.
diff --git a/debian/regenerate-man-pages.sh b/debian/regenerate-man-pages.sh
new file mode 100755
index 0000000..80b95b2
--- /dev/null
+++ b/debian/regenerate-man-pages.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+if ! grep --quiet sup-mail debian/changelog; then
+    echo "You are not in the top sup-mail package directory."
+    exit 1
+fi
+
+git clone https://github.com/sup-heliotrope/sup.wiki.git doc/wiki
+rake man
+cp man/* debian/man/
+mv debian/man/sup.1 debian/man/sup-mail.1
+
+rm -rf man doc/wiki

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/sup-mail.git



More information about the Pkg-ruby-extras-commits mailing list