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

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



2009/5/24 Richard W.M. Jones <rjones@redhat.com>:
> 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 ...
>

Debian policy talks about the final result only and there are many
ways to get there.

You are using debhelper to get there so read debhelper documentation

# general
man debhelper
man dh

# about debian/*.dirs
man dh_installdirs

# about debian/*.install
man dh_install

# also read for a few others
man dh_install*

> Any pointers?
>

or use bash/man completion and read man dh_* they are all very similar
from UI point of few and let you achieve many things

> Rich.
>

ps.

@redhat.com..... Nice =D i still don't have @ubuntu.com nor
@debian.org email addresss. =```((( working on it though

> --
> Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
> Read my programming blog: http://rwmj.wordpress.com
> Fedora now supports 75 OCaml packages (the OPEN alternative to F#)
> http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora
>




-- 
With best regards


Dmitrijs Ledkovs (for short Dima),
Ледков Дмитрий Юрьевич


Reply to: