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

Re: CDBS - how to source a shell fragement before running ./configure?



On Tuesday 23,June,2009 07:51 PM, Carsten Aulbert wrote:
> Hi Peter,
>
> Peter Eisentraut wrote:
>   
>> It's a bit daring, but the following might work:
>>
>> DEB_CONFIGURE_INVOKE := . opt/foo/bar.sh ; $(DEB_CONFIGURE_INVOKE)
>>
>>     
> I need to add to daringness (Since LD_LIBRARY_PATH needs to be added to
> as well at make time):
>
> DEB_MAKE_INVOKE := . opt/foo/bar.sh ; $(DEB_MAKE_INVOKE)
>
> then it seems to work, although it makes me shudder quite a bit.
>
> But thanks a lot for the hint!
>
> Cheers
>
> Carsten
>   
Perhaps I'm missing something, but is your script meant to just export
environment variables? If that is so, why don't you just add a bunch of
export statements at the top of your debian/rules?

-- 
Regards,
Chow Loong Jin


Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: