[DRE-commits] [nanoc] 04/07: create a -doc package
Cédric Boutillier
boutil at moszumanska.debian.org
Fri Feb 14 11:17:52 UTC 2014
This is an automated email from the git hooks/post-receive script.
boutil pushed a commit to branch master
in repository nanoc.
commit 6ad1360d7d449200c891d507438b148fb54001df
Author: Cédric Boutillier <boutil at debian.org>
Date: Fri Feb 14 11:34:06 2014 +0100
create a -doc package
---
debian/control | 22 ++++++++++++++++++++++
debian/rules | 9 +++++++++
2 files changed, 31 insertions(+)
diff --git a/debian/control b/debian/control
index 5832c8e..4574473 100644
--- a/debian/control
+++ b/debian/control
@@ -5,6 +5,7 @@ Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.al
Uploaders: Cédric Boutillier <boutil at debian.org>
Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.3.0~),
asciidoc,
+ rake,
ruby-cri,
ruby-listen,
ruby-minitest,
@@ -76,3 +77,24 @@ Description: static site generator written in Ruby
.
The target audience of nanoc is Rubyists with some level of Ruby
experience.
+
+Package: nanoc-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}, libjs-jquery
+Suggests: doc-base
+Description: static site generator written in Ruby - documentation
+ nanoc is a static site generator, fit for building anything from a small
+ personal blog to a large corporate web site. It can transform content
+ from one format (e.g. Haml or Markdown) into another (usually HTML) and
+ lay out pages so that the site's look and feel is consistent across all
+ pages.
+ .
+ Extending nanoc is easy because of its modular architecture. It comes
+ with only a couple of extensions, but allows new functionality to be
+ plugged in quickly and easily.
+ .
+ The target audience of nanoc is Rubyists with some level of Ruby
+ experience.
+ .
+ This package contains the documentation for nanoc.
diff --git a/debian/rules b/debian/rules
index 02ca142..aeec2c6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,6 +14,12 @@
%:
dh $@ --buildsystem=ruby --with ruby
+override_dh_auto_install:
+ dh_auto_install
+ mkdir doc/yardoc_handlers
+ ln -s ../../debian/identifier.rb doc/yardoc_handlers/identifier.rb
+ rake doc
+
override_dh_installman:
mkdir man/
pod2man --center "" --release "" --name NANOC --utf8 debian/nanoc.1.pod man/nanoc.1
@@ -22,3 +28,6 @@ override_dh_installman:
override_dh_clean:
dh_clean
rm -rf man/
+ rm -rf doc/yardoc_handlers/
+ rm -rf doc/yardoc
+ rm -rf .yardoc
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/nanoc.git
More information about the Pkg-ruby-extras-commits
mailing list