On Tue, Aug 30, 2011 at 05:59:21PM -0400, Joey Hess wrote:
> Yann Dirson wrote:
> > I tried things like:
> > 
> > build-arch:
> >     dh_auto_build -a
> >     docbook-to-man debian/tulip.sgml > debian/tulip.1
> 
> You're not running dh_auto_configure which dh would normally run here.
> 
> Why not just run "dh build-arch" in the build-arch target?

Ah, I think I'm starting to understand the big picture - that seems to
be OK for build-arch.

Now I'm still unclear about build-indep.  The original package
(3.6.0dfsg-1) does not separate them, and uses:

|override_dh_auto_build:
|build-arch:
|       dh_auto_build
|       dh_auto_build -- doc
|       docbook-to-man debian/tulip.sgml > debian/tulip.1

Intuitively, I'd like to use something like the following, which does
not appear to be possible AFAIU:

|override_dh_auto_build_indep:
|       dh_auto_build -- doc

And something similar is going to happen with install, with the
following I'd like to split in a similar way:

|override_dh_auto_install:
|       dh_auto_install
|       dh_auto_install -- -C docs

What do you think ?



-- 
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