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

Re: Confused by <foo>.dirs, <foo>.install etc



On 2009-05-24, Jack Kelly <endgame.dos@gmail.com> wrote:
> On Mon, May 25, 2009 at 9:40 AM, Sune Vuorela <nospam@vuorela.dk> wrote:
>> On 2009-05-24, Jack Kelly <endgame.dos@gmail.com> wrote:
>>> On Mon, May 25, 2009 at 8:07 AM, Richard W.M. Jones <rjones@redhat.com> wrote:
>>>> I have a problem building a library, starting with a dh_make template.
>>>> The basic problem seems to boil down to files don't get moved from
>>>> DESTDIR (debian/tmp) into the actual packages, so the final *.deb
>>>> packages are empty.
>>>>
>>>> It seems like the <foo>.dirs and <foo>.install files in debian/ are
>>>> something to do with this process.  However I cannot find where in
>>>> Debian policy these are documented ...
>>>
>>> My suggestion: If CDBS supports your package's build system, use it.
>>> http://build-common.alioth.debian.org/cdbs-doc.html . It calls all the
>>
>> Please do not suggest debian/rules obfuscators, wether it is cdbs nor
>> dh(1), to newcomers wanting to learn packaging.
>
> Okay, will do. Can you please explain your reasoning, though? On the
> surface, it seems analogous to "Please do not suggest Makefile/sh
> obfuscators, whether it is autotools nor cmake(1), to newcomers
> wanting to learn how to build software.".

How are you supposed to e.g. know that you migth need to pass options to
dh_install if you don't even know what it is and that it exists ?

/Sune


Reply to: