This is an automated email from the git hooks/post-receive script. tille pushed a commit to branch master in repository htqc.
commit c6f71fc37bbd3db76397629bc3292e3aa031cc19 Author: Andreas Tille <[email protected]> Date: Mon Jun 22 19:07:33 2015 +0200 Create manpages --- debian/control | 3 ++- debian/rules | 16 ++++++++-------- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/debian/control b/debian/control index f2a9d59..97331a6 100644 --- a/debian/control +++ b/debian/control @@ -5,7 +5,8 @@ Maintainer: Debian Med Packaging Team <[email protected]. Uploaders: Andreas Tille <[email protected]> Build-Depends: debhelper (>= 9), cmake, - zlib1g-dev + zlib1g-dev, + ruby-ronn Standards-Version: 3.9.6 Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/htqc.git Vcs-Git: git://anonscm.debian.org/debian-med/htqc.git diff --git a/debian/rules b/debian/rules index 063672e..5400160 100755 --- a/debian/rules +++ b/debian/rules @@ -2,14 +2,8 @@ # DH_VERBOSE := 1 -# some helpful variables - uncomment them if needed -# shamelessly stolen from http://jmtd.net/log/awk/ -#DEBVERS := $(shell dpkg-parsechangelog | awk '/^Version:/ {print $$2}') -#VERSION := $(shell echo '$(DEBVERS)' | sed -e 's/^[0-9]*://' -e 's/-.*//') -#DEBFLAVOR := $(shell dpkg-parsechangelog | awk '/^Distribution:/ {print $$2}') -#DEBPKGNAME := $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}') -#DEBIAN_BRANCH := $(shell awk 'BEGIN{FS="[= ]+"} /debian-branch/ {print $$2}' debian/gbp.conf) -#GIT_TAG := $(subst ~,_,$(VERSION)) +DEBPKGNAME := $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}') +mandir=$(CURDIR)/debian/$(DEBPKGNAME)/usr/share/man/man1/ # alternatively to manually set those variables you can # include /usr/share/cdbs/1/rules/buildvars.mk @@ -24,3 +18,9 @@ override_dh_install: find debian -type d -name include | xargs -r rm -rf find debian -type d -name lib | xargs -r rm -rf +override_dh_installman: + mkdir -p $(mandir) + for man in README-*.md ; do \ + name=`echo $${man} | sed 's/README-\(.*\).md/\1/'` ; \ + ronn --manual=ht2-$${name} < $${man} > $(mandir)/ht2-$${name}.1 ; \ + done -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/htqc.git _______________________________________________ debian-med-commit mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit
