maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   QT Creator & Deb package : how to specify conffiles ? (https://talk.maemo.org/showthread.php?t=45196)

calvin_42 2010-02-20 04:24

qmake & Deb package : how to specify conffiles ?
 
Hi there.

I have a question concerning the files set in the .pro file.

Ex :

Code:

INSTALLS += target
target.path = $$PREFIX/opt/autodisconnect
INSTALLS += desktop
desktop.path = $$PREFIX/usr/share/applications/hildon
desktop.files = data/autodisconnect.desktop
INSTALLS += autodisconnect-up
autodisconnect-up.path = $$PREFIX/etc/network/if-up.d/
autodisconnect-up.files = data/scripts/if-up.d/99_autodisconnect

How to specify which are configuration files and which aren't ?

Right now when I build my package (dpkg-buildpackage) the etc/network/if-up.d/99_autodisconnect file is added automatically to the DEBIAN/file conffiles. It means it will only be removed when using dpkg with the --purge option. I would like it to be considered as a regular file in order for it to be removed with the simple option --remove.

Thanks!


All times are GMT. The time now is 22:55.

vBulletin® Version 3.8.8