Hello all, in the software that I'm trying (gosh, that's not trivial...) to package, some configuration files are due to go in /etc/polyxmass.d
For example, on file belonging to a "all type package, ie data-only"
should go like this:
/etc/polyxmass.d/polyxmassdata.conf
Now, when I try to package this, with the following rules' specifs
~~~~~~ excerpt rules
# Build architecture-independent files here.
binary-indep: build install
dh_testdir
dh_testroot
dh_installchangelogs ChangeLog
dh_installdocs
dh_installman
# below: we do not want that the files in the userman directory
# be compressed (because they are located in .../doc/... directory).
dh_compress -Xuserman
dh_fixperms
dh_installdeb
dh_gencontrol
dh_md5sums
dh_builddeb
binary: binary-indep
.PHONY: build clean binary-indep binary-arch binary install
~~~~~~~~ end excerpt rules
I effectively get the said file in
debian/polyxmassdata/etc/polyxmass.d/polyxmassdata.conf
telling me that the "make install" target has worked ok.
However, I also noticed that this file is referenced here:
debian/polyxmassdata/DEBIAN/conffiles
although I never had a conffiles for this package, because the
polyxmassdata.conf SHOULD be overwritten upon a new install.
The result of all this is that the polyxmassdata.conf seems to be
included in the deb file (as seen using "dpkg -X file.deb /tmp"), but
does not get installed (presumably because, indeed, the debian
packaging system does think it is a conffile).
So my question ? How can I have a configuration file installed
somewhere in /etc without having the debian packaging system think it
is a conffile ?
Thanks for reading up to here,
any help appreciated !
Cheers,
Filippo
--
Mass spectrometry in GNU/Linux ? GNU polyxmass !
www.gnu.org/software/polyxmass or www.polyxmass.org
Free software that you are welcome to distribute!
http://www.unesco.org/webworld/portal_freesoft/index.shtml
signature.asc
Description: Digital signature

