[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: override_dh_auto_configure not called



On Thu, May 5, 2011 at 11:36 AM, Anton Gladky <gladky.anton@gmail.com> wrote:
> Hi, all
>
> I have a similar question. I am using:
>
> override_dh_auto_build:
>  make doc
>  ...
>
> How to perform this section only on binary-independent packages?

from the dh manpage:

Finally, remember that you are not limited to using override targets in
the rules file when using dh. You can also explicitly define any of the
regular rules file targets when it makes sense to do so. A common
reason to do this is if your package needs different build-arch and
build-indep targets. For example, a package with a long document build
process can put it in build-indep to avoid build daemons redundantly
building the documentation.

               #!/usr/bin/make -f
               %:
                       dh $@

               build: build-arch build-indep ;
               build-indep:
                       $(MAKE) docs
               build-arch:
                       $(MAKE) bins


Reply to: