Hello,

On 2009 m. July 2 d., Thursday 12:25:08 you wrote:
> Take for example the situation when I need to run './configure' from
> the top level source directory and then run 'make -C libs/thislib'.
> Currently this is only possible by overriding the dh_auto_build and
> dh_auto_install rules to append the '-- -C libs/thislib' option.

Or

override_dh_auto_configure:
        dh_auto_configure --builddirectory=path/to/source
                          ^^^^^^^^^^^^^^^^^^^^^
        overriden to do in-source configure, --sourcedirectory is "inherited"

%:
        dh --sourcedirectory=path/to/source --builddirectory=libs/thislib
                                         ^^^^^^^^^^^^^^^^^^^^^
                                           default builddir 

dh_auto is designed to build the whole package, you want to build a part of 
it. So you will have to override, your case is special.

-- 
Modestas Vainius <modes...@vainius.eu>

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to