[DRE-commits] [ruby-rotp] 01/04: Use yard to generate docs

Balasankar C balasankarc-guest at moszumanska.debian.org
Fri Jun 19 15:24:24 UTC 2015


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

balasankarc-guest pushed a commit to branch master
in repository ruby-rotp.

commit 97d485d37ab74fa3d4e6e75da3e72fec128cdc90
Author: Balasankar C <balasankarc at autistici.org>
Date:   Wed Jun 17 11:28:33 2015 +0530

    Use yard to generate docs
---
 debian/rules | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/debian/rules b/debian/rules
index 00ac81c..fa46eca 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,3 +9,14 @@ override_dh_installdocs:
 	rm debian/ruby-rotp/usr/share/doc/ruby-rotp/file.README.html
 override_dh_installchangelogs:
 	dh_installchangelogs CHANGELOG.md
+override_dh_installdocs:
+	yardoc -o debian/yardocs
+	cp -r debian/yardocs/* debian/ruby-rotp/usr/share/doc/ruby-rotp
+override_dh_clean:
+	if [ -e debian/yarddocs ]; then \
+		rm -rf debian/yarddocs; \
+	fi
+	if [ -e .yardoc ]; then \
+		rm -rf .yardoc;\
+	fi
+	dh_clean

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



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