I have solved the problem by this way:

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

binary-indep:
        dh --before dh_auto_build $@
        $(MAKE) doc
        dh --after dh_auto_build $@

binary-arch:
        dh --before dh_auto_build $@
        $(MAKE) bins
        dh --after dh_auto_build $@

binary: binary-indep binary-arch
=============================

I do not know, is this correct or not, but it works...

Anton

>>
>>              #!/usr/bin/make -f
>>              %:
>>                      dh $@
>>
>>              build: build-arch build-indep ;
>>              build-indep:
>>                      $(MAKE) docs
>>              build-arch:
>>                      $(MAKE) bins
>
> Unfortunately, this example is incorrect: http://bugs.debian.org/627534
>
> --
> Jakub Wilk



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