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

Re: DESTDIR and .conf file



On 03/08/2005 07:15 PM, Justin Pryzby wrote:
On Tue, Mar 08, 2005 at 11:02:19PM +0100, Rakotomandimby (R12y) Mihamina wrote:
2 ) --------

To install the configuration file, I append to what I written (in the
"install" section yet:

       cp minimalist.conf-sample debian/minimalist/etc/minimalist.conf
I had to append 'etc' into the 'dirs' file.
Is it right ?

Yes.  This makes it a "configuration file".  If you want it to be a
conffile (which I suspect you do), you should also list it in
debian/conffiles.

You don't need to add it to debian/conffiles if you use debhelper compatibility level 3 or higher[1] (current dh_make sets comp level to 4). All files in etc/ are automatically flagged as conffiles by dh_installdeb.

K.

[1] man debhelper

--
Lucas Wall <kthulhu@kadath.com.ar>      .''`.
Buenos Aires, Argentina                : :ø :   Debian GNU/Linux
http://www.kadath.com.ar               `. `'  http://www.debian.org
PGP: 1024D/84FB46D6                      `-
     5D25 528A 83AB 489B 356A        http://people.debian.org/~lwall
     4087 BC9B 4733 84FB 46D6        mailto:lwall@debian.org

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: