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

Re: [help] modern packaging of multi-precision scientific library



Hi,

On Wed, Sep 03, 2014 at 04:10:45PM +0200, Julien Puydt wrote:
> Le 03/09/2014 13:59, Felix Salfelder a écrit :
> >override_dh_auto_configure:
> >    -mkdir this that
> >    cd this; ../configure --this
> >    cd that; ../configure --that
> 
> I like this idea : it sounds like a good occasion to check if
> upstream's out-of-tree build works and fix it if it doesn't :-P

In autodocksuite we habe:


override_dh_auto_configure:
        mkdir -p debian/autodock_save
        cd autodock && cp -a $(SAVEFILES) ../debian/autodock_save && autoreconf -i
        dh_auto_configure --sourcedirectory=autodock
        mkdir -p debian/autogrid_save
        cd autogrid && cp -a $(SAVEFILES) ../debian/autogrid_save && autoreconf -i
        dh_auto_configure --sourcedirectory=autogrid

override_dh_auto_build:
        dh_auto_build --sourcedirectory=autodock
        dh_auto_build --sourcedirectory=autogrid


override_dh_auto_clean:
        dh_auto_clean --sourcedirectory=autodock
        dh_auto_clean --sourcedirectory=autogrid

...


Hope this helps

        Andreas.



 

-- 
http://fam-tille.de


Reply to: