Re: DESTDIR Support for debian/install
On Fri, 15 Nov 2013 18:05:45 -0800, Russ Allbery wrote:
>> All usr/bin/ files have been successfully generated under
>> debian/glimpse/ usr/bin. Should I change all 'usr' to
>> 'debian/glimpse/usr' without knowing why, or there is more proper way
>> to fix it?
>
> It looks like you're installing (from upstream) directly into
> debian/glimpse...
>
> debhelper, however, defaults to running make install
> DESTDIR=debian/$(PACKAGE) when the source package builds only one binary
> package.
>
> So, you have a few options:
>
> 1. Override the default dh_auto_install rule to pass
> --destdir=$(CURDIR)/debian/tmp:
>
> override_dh_auto_install:
> dh_auto_install --destdir=$(CURDIR)/debian/tmp
That works like a charm.
Hoary!!!
Thanks a thousand Russ!
Reply to: