Package: debhelper
Version: 8.9.4
Severity: normal

Following the last example from the dh manpage, I am trying the
following rules file (compat=8).  However, it seems to completely
ignore the build-* overrides (install fails on manpage install):

$ dh build-arch --no-act
   dh_testdir -a
   debian/rules override_dh_auto_configure
   dh_auto_build -a
   dh_auto_test -a


=====
#!/usr/bin/make -f
# -*- makefile -*-

# This has to be exported to make some magic below work.
export DH_OPTIONS

%:
        dh $@ --parallel

override_dh_auto_configure:
        dh_auto_configure -- -DCMAKE_SKIP_RPATH:BOOL=YES
build-arch:
        dh_auto_build
        docbook-to-man debian/tulip.sgml > debian/tulip.1
build-indep:
        dh_auto_build -- doc

override_dh_auto_install:
        dh_auto_install
        dh_auto_install -- -C docs
        mkdir -p debian/tmp/usr/share/doc/tulip-doc
        for d in common userHandbook developerHandbook doxygen; do \
                cp -a obj-*/docs/$$d debian/tmp/usr/share/doc/tulip-doc/ ;\
        done
        install -D debian/tulip.1 debian/tmp/usr/share/man/man1/tulip.1

override_dh_install:
        dh_install --fail-missing

override_dh_auto_clean:
        dh_auto_clean
        rm -f debian/tulip.1
=====

(the install target may be to adapt as well when the build-* stuff works)

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'oldstable'), (500, 'unstable'), (500, 
'stable'), (101, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38.4 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages debhelper depends on:
ii  binutils              2.21.52.20110606-2 The GNU assembler, linker and bina
ii  dpkg-dev              1.16.0.3           Debian package development tools
ii  file                  5.04-5+b1          Determines file type using "magic"
ii  html2text             1.3.2a-15          advanced HTML to text converter
ii  man-db                2.6.0.2-2          on-line manual pager
ii  perl                  5.12.4-4           Larry Wall's Practical Extraction 
ii  perl-base             5.12.4-4           minimal Perl system
ii  po-debconf            1.0.16+nmu1        tool for managing templates file t

debhelper recommends no packages.

Versions of packages debhelper suggests:
ii  dh-make                       0.59       tool that converts source archives

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to