[med-svn] [pbgenomicconsensus] 04/06: Build manpages during dh_install rather than dh_auto_build

Afif Elghraoui afif-guest at moszumanska.debian.org
Tue Oct 13 07:11:43 UTC 2015


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

afif-guest pushed a commit to branch master
in repository pbgenomicconsensus.

commit 9e30ad669132cf43dc41414b8529196ca9727440
Author: Afif Elghraoui <afif at ghraoui.name>
Date:   Mon Oct 12 23:24:45 2015 -0700

    Build manpages during dh_install rather than dh_auto_build
    
    The package install directory is apparently not prepared during
    dh_auto_build and the manpages get lost.
---
 debian/rules | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/debian/rules b/debian/rules
index 69022c2..bd4b9ed 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,15 +11,12 @@ MANDIR=$(CURDIR)/debian/$(DEB_SOURCE)/usr/share/man/
 %:
 	LC_ALL=C.UTF-8 dh $@ --with python2 --buildsystem=pybuild
 
-override_dh_auto_build:
-	dh_auto_build
+override_dh_install:
+	dh_install
 	mkdir -p $(MANDIR)/man5 $(MANDIR)/man1 $(MANDIR)/man7
 	rst2man doc/VariantsGffSpecification.rst > $(MANDIR)/man5/pbgff.5
 	rst2man doc/HowToQuiver.rst > $(MANDIR)/man1/quiver.1
 	rst2man doc/QuiverFAQ.rst > $(MANDIR)/man7/quiver-faq.7
-
-override_dh_install:
-	dh_install
 	for script in $(BINDIR)/*.py; \
 	do \
 		mv $$script $(BINDIR)/`basename $$script .py`; \

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/pbgenomicconsensus.git



More information about the debian-med-commit mailing list