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

Re: libtool patch -- was Re: easy way to tell if "in" package build?



othman@cs.wustl.edu wrote:
> The way I check if we are in the middle of a Debian build is really
> hackish but it should work for the most part.  Here is the changelog
> entry from my libtool "-3" package:
> 
> libtool (1.3.3-3) unstable; urgency=low
>   * Changed the rpath hack to check if debuild is currently running and if
>     DEB_BUILD_ARCH variable is of non-zero length.  If both conditions are
>     satisfied, it should be safe to assume that libtool is being used in
>     the middle of a Debian package build.

That fails if you just run "debian/rules binary" by hand.

-- 
see shy jo


Reply to: