2013/4/14 Tom Browder <[email protected]>:
> I am trying to get a package in shape for BRL-CAD which currently
> tests only an out-of-tree build.  Can anyone point  to an example of
> such a requirement being implemented in an existing Debian package?
>

Debhelper has options -B for build dir and -S for source dir, for example:
dh_auto_configure -B some/dir -- <options for configure or CMake>

In simple case this should work:

%:
    dh $@ -B some/dir

Here is more complex example (but with autotools):
https://github.com/ip1981/open-axiom-debian/blob/master/debian/rules


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: 
http://lists.debian.org/CALL-Q8yx+DDN=n9d1c0krae_xtwpqv2uwxbqfbt_nv10juw...@mail.gmail.com

Reply via email to