Yann Dirson wrote: > > 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
This idea has been considered before and did not seem worth doing at the
time. See #604563
All you seem to need is:
build-indep:
dh_auto_configure
make doc
docbook-to-man debian/tulip.sgml > debian/tulip.1
> 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 ?
install-indep:
dh_auto_install -- -C docs
dh install-indep
--
see shy jo
signature.asc
Description: Digital signature

