[DRE-commits] [ruby-prawn-table] 04/10: generate and install PDF manual

Cédric Boutillier boutil at moszumanska.debian.org
Tue Sep 16 21:24:12 UTC 2014


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

boutil pushed a commit to branch master
in repository ruby-prawn-table.

commit 737d6e48679f10f34c10eb0d9636c76eddd77a83
Author: Cédric Boutillier <boutil at debian.org>
Date:   Tue Sep 16 09:36:49 2014 +0200

    generate and install PDF manual
---
 debian/ruby-prawn-table.doc-base | 9 +++++++++
 debian/ruby-prawn-table.docs     | 2 +-
 debian/rules                     | 5 +++++
 3 files changed, 15 insertions(+), 1 deletion(-)

diff --git a/debian/ruby-prawn-table.doc-base b/debian/ruby-prawn-table.doc-base
new file mode 100644
index 0000000..ca7fb3c
--- /dev/null
+++ b/debian/ruby-prawn-table.doc-base
@@ -0,0 +1,9 @@
+Document: prawn-table-manual
+Title: Prawn's manual for tables
+Author: Gregory Brown et al.
+Abstract: This manual is a collection of examples of usage of tables
+ with Prawn Ruby library
+Section: Programming/Ruby
+
+Format: PDF
+Files: /usr/share/doc/ruby-prawn-table/manual.pdf.gz
diff --git a/debian/ruby-prawn-table.docs b/debian/ruby-prawn-table.docs
index d0ab95f..70c68db 100644
--- a/debian/ruby-prawn-table.docs
+++ b/debian/ruby-prawn-table.docs
@@ -1 +1 @@
-# FIXME: READMEs found
+manual.pdf
diff --git a/debian/rules b/debian/rules
index d81794d..f1a17e5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,3 +13,8 @@
 
 %:
 	dh $@ --buildsystem=ruby --with ruby
+
+override_dh_auto_install:
+	dh_auto_install
+	ruby manual/contents.rb
+

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



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