Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I'm trying to find what is the syntax of conffiles.

I'm creating several packages using a single rules file and if I put the configuration files into conffiles I get an error when building the packages (since the files are only present in two of the 9 packages).

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

Using debhelper, you can name the conffile file after the package name, just like with the install files. An example file name would be "mypackage.conffiles". With debhelper, any file that does not follow the "maypackage.myfile" format applies to all binary packages from the source.

The conffiles file is described in the dh_installdeb manpage.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.