Hi Shawn,

On Mon, May 18, 2015 at 1:54 PM, Shawn Sörbom <sh...@sorbom.com> wrote:
> Hi,
> I am playing with the Snes9x source code, and I can't get it to compile via
> debhelper. Snes9x has its config files in a subfolder of the sources called
> "unix".
> What is the proper way of overriding dh_auto_install and dh_auto_build to
> point debhelper to the correct location?
>
>
> I have tried placing these overrides in my debian/rules file, but they don't
> seem to work:
>
> override_dh_auto_configure:
>         DESTDIR=$(shell pwd)/debian/snes9x
>         cd $(shell pwd)/unix
>         autoreconf -i
>         configure --prefix=$(DESTDIR)
>
> override_dh_auto_build:
>          cd $(shell pwd)/unix
>          make
>

%:
    dh $@ --sourcedirectory=$(CURDIR)/unix

Regards,
Vincent


--
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/CACZd_tDAq3eO9ChCeZ52CR4D6q=+-k1GKAVUT_ayS-th29N=+g...@mail.gmail.com

Reply via email to