[DRE-commits] [SCM] mdpress.git branch, master, updated. upstream/0.0.12-14-gceee563

Cédric Boutillier boutil at debian.org
Sun Jun 16 09:48:07 UTC 2013


The following commit has been merged in the master branch:
commit 1f7bfa0dcd37cc7ce8631842c6e5a2f284ac6ce2
Author: Cédric Boutillier <boutil at debian.org>
Date:   Sat Jun 1 16:12:03 2013 +0200

    add a manpage

diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..f130762
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1 @@
+debian/mdpress.1
diff --git a/debian/mdpress.1.pod b/debian/mdpress.1.pod
new file mode 100644
index 0000000..f60503f
--- /dev/null
+++ b/debian/mdpress.1.pod
@@ -0,0 +1,42 @@
+=encoding UTF-8
+
+=head1 NAME
+
+mdpress - Ruby tool to build impress.js presentation from Markdown files
+
+
+=head1 SYNOPSIS
+
+B<mdpress> [I<filename>] [I<options>]
+
+=head1 DESCRIPTION
+
+=head1 OPTIONS
+
+=over
+
+=item B<--automatic>, B<-a>
+
+Keeps running and automatically updates the presentation to reflect changes to markdown file.
+
+=item B<--stylesheet>, B<-s> I<stylesheet>
+
+Specify what stylesheet to use. (Default: default)
+
+=item B<--list>, B<-l>
+
+List all available stylesheets.
+
+=item B<--run>, B<-r>
+
+Run presentation (automatically compiles to a tmp directory and opens in a browser window)
+
+=item B<--verbose>, B<-v>
+
+Be verbose.
+
+=item B<--help>, B<-h>
+
+Show a help message, similar to this manual page.
+
+=back
diff --git a/debian/mdpress.manpages b/debian/mdpress.manpages
new file mode 100644
index 0000000..f130762
--- /dev/null
+++ b/debian/mdpress.manpages
@@ -0,0 +1 @@
+debian/mdpress.1
diff --git a/debian/rules b/debian/rules
index a5e7dc8..868dfe6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,3 +13,10 @@
 
 %:
 	dh $@ --buildsystem=ruby --with ruby
+
+override_dh_installman:
+	pod2man --center "" --release "" --name MDPRESS --utf8 debian/mdpress.1.pod debian/mdpress.1
+	dh_installman
+
+
+

-- 
mdpress.git



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