[DRE-commits] [camping] 04/09: Update doc generation; don't compress fonts, examples
Paul van Tilburg
paulvt at moszumanska.debian.org
Fri Oct 17 21:08:21 UTC 2014
This is an automated email from the git hooks/post-receive script.
paulvt pushed a commit to branch master
in repository camping.
commit 49267e239de994d46ea209ddae2a144fe6328ce6
Author: Paul van Tilburg <paulvt at debian.org>
Date: Fri Oct 17 22:44:31 2014 +0200
Update doc generation; don't compress fonts, examples
Although doc/ contains RDoc file, still generate our own docs following the
Rakefile options.
---
debian/changelog | 2 ++
debian/docs | 2 +-
debian/rules | 14 ++++++++++----
3 files changed, 13 insertions(+), 5 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 8dddb7c..215f526 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,8 @@ camping (2.1.580-1) UNRELEASED; urgency=medium
[ Paul van Tilburg ]
* New upstream (snapshot) release (with git HEAD 0904ad4)
+ * d/docs, d/rules: although doc/ contains RDoc file, still generate our
+ own docs following the Rakefile options
-- Paul van Tilburg <paulvt at debian.org> Fri, 17 Oct 2014 20:41:04 +0200
diff --git a/debian/docs b/debian/docs
index 7daec72..2a06b65 100644
--- a/debian/docs
+++ b/debian/docs
@@ -1 +1 @@
-doc/rdoc
+rdoc/
diff --git a/debian/rules b/debian/rules
index a1bd7fc..684ac69 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,9 +16,15 @@
override_dh_auto_build:
dh_auto_build
- rdoc --fmt html --inline-source --fileboxes --line-numbers \
- --main README --title "Camping, a Microframework" --op doc/rdoc \
- README book/* lib/camping-unabridged.rb lib/camping/*.rb
+ rdoc --exclude '^(examples|extras)\/' \
+ --exclude 'lib/camping.rb' \
+ --main README \
+ --title "Camping, a Microframework" \
+ --op rdoc \
+ README.md CHANGELOG COPYING book/* lib/**/*.rb
+
+override_dh_compress:
+ dh_compress -X.ttf -X.rb
override_dh_installdocs:
dh_installdocs -O--buildsystem=ruby
@@ -27,4 +33,4 @@ override_dh_installdocs:
override_dh_auto_clean:
dh_auto_clean
- rm -rf doc
+ rm -rf rdoc
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/camping.git
More information about the Pkg-ruby-extras-commits
mailing list