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

Re: what is the 'dirs' file made by deb-make?



-----BEGIN PGP SIGNED MESSAGE-----

On Thu, 23 Jan 1997, Susan G. Kleinmann wrote:

> When I ran deb-make is run on fresh source package, it created
> the file debian/dirs, which contained only two lines:
>    usr/bin
>    usr/sbin
> 
> (How) should one customize that for one's package?

Simply add any directories you would like to be already created before
the "make install" in debian/rules (binary-arch).
 
> I see no mention of it in the deb-make man page, the policy or
> programmers manuals, or even in the debian-devel mail archive.

It is a debmake-specific feature.

It is used in debian/rules in this fashion (more or less):

	cd debian/tmp; install -d `cat ../dirs`

I usually change that to something like this:

	cd debian/tmp;install -d usr/bin usr/doc/$(package)

This way, I do not need this `dirs' file and debian/rules is slightly more
self-contained (so you don't have to see the contents of another file to
see what it does).

Regards,

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: latin1

iQCVAgUBMudJ3iqK7IlOjMLFAQEu6QP+MQq1KRYEjPc+8JKhuNhr+TdLvrnAQlY0
cnnBUicrzgSk/LMe+/Yrg7Jp1ucj6BOAhmAfytLtgOYL9Uz3x7SfEm8gHbo6rSDj
t5M496Rgmwa2dQ+6pLjJlQplnHe/gI0RhGKSkb9jeA41gUfZ6eMHKE6rEfeqXvq0
ttV8n1BXVW8=
=W2G2
-----END PGP SIGNATURE-----

Santiago Vila <sanvila@unex.es>


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com


Reply to: