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

Re: Nested makefile



On Mon, Mar 9, 2009 at 3:30 PM, Jaromír Mikeš <mira.mikes@seznam.cz> wrote:
> <  > I am trying build package where makefile is nested in subdirectory and dh_make
> <  complain to it.
> <  > What is right way to solve it?
> <
> <  Do you mean beyond make's own support for this?
> <
> <  $(MAKE) -C dir/
> <
>
> This is tweak for debian/rules file? Name of  dir with makefile is "source"
> So probably something like this?
> $(MAKE) -C source

Yes, see, e.g.:

http://git.debian.org/?p=collab-maint/tint2.git;a=blob;f=debian/rules;h=cb4e6715fe8afd63b07beb8a93b5e6835311b365;hb=HEAD

although this example uses debhelper 7, which may not be what you want.

Daniel

-- 
Daniel Moerner <dmoerner@gmail.com>


Reply to: