[DRE-commits] [ruby-kpeg] 07/07: added debian man page for /usr/bin/kpeg
dod at debian.org
dod at debian.org
Wed Apr 16 17:11:43 UTC 2014
This is an automated email from the git hooks/post-receive script.
dod pushed a commit to branch master
in repository ruby-kpeg.
commit 98b2ba663367d66166ff27d9f37fa0cde17ce6e3
Author: Dominique Dumont <dod at debian.org>
Date: Wed Apr 16 19:11:34 2014 +0200
added debian man page for /usr/bin/kpeg
---
debian/kpeg.pod | 35 +++++++++++++++++++++++++++++++++++
debian/ruby-kpeg.manpages | 1 +
debian/rules | 8 ++++++++
3 files changed, 44 insertions(+)
diff --git a/debian/kpeg.pod b/debian/kpeg.pod
new file mode 100644
index 0000000..eb760f9
--- /dev/null
+++ b/debian/kpeg.pod
@@ -0,0 +1,35 @@
+=head1 NAME
+
+kpeg - ruby parser generator from PEG grammar
+
+=head1 SYNOPSIS
+
+ kpeg [ options ]
+
+=head1 DESCRIPTION
+
+kpeg generates ruby parser from a PEG (parsing expression grammar) file.
+
+The grammar syntax is described on L<kpeg home page|https://github.com/evanphx/kpeg>
+
+=head1 OPTIONS
+
+ -t, --test Syntax check the file only
+ --reformat Reformat your grammar and write it back out
+ -o, --output FILE Where the output should go
+ -n, --name NAME Class name to use for the parser
+ -f, --force Overwrite the output if it exists
+ -s, --stand-alone Write the parser to run standalone
+ -v, --[no-]verbose Run verbosely
+ -d, --debug Debug parsing the file
+
+=head1 AUTHOR
+
+This manual page was written by Dominique Dumont <dod at debian.org>, for the Debian GNU/Linux
+system(but may be used by others).
+
+=head1 SEE ALSO
+
+L<kpeg home page|https://github.com/evanphx/kpeg>
+
+=cut
\ No newline at end of file
diff --git a/debian/ruby-kpeg.manpages b/debian/ruby-kpeg.manpages
new file mode 100644
index 0000000..5a62c0f
--- /dev/null
+++ b/debian/ruby-kpeg.manpages
@@ -0,0 +1 @@
+debian/kpeg.1
diff --git a/debian/rules b/debian/rules
index 06981cd..1240320 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,3 +13,11 @@
%:
dh $@ --buildsystem=ruby --with ruby
+
+override_dh_auto_configure:
+ pod2man --center "User command" --release kpeg debian/kpeg.pod > debian/kpeg.1
+ dh_auto_configure
+
+override_dh_auto_clean:
+ dh_auto_clean
+ rm -f debian/kpeg.1
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-kpeg.git
More information about the Pkg-ruby-extras-commits
mailing list