Hi,

I'm using CMake/CPack to package a system daemon, which is installing files to different system directories like /etc, /usr/bin, /usr/share/doc etc.

The problem I'm having is that I need to exclude these directories from the package list. Not all, though -- I still want /usr/share/doc/<project> to be part of the package, so it gets erased when the package is removed.

For RPMs, I could solve it by using my own .spec template, but I can't figure out how to make a proper PackageManager package.

When installing the package, it messes up several system directores (like replacing the /etc -> /private/etc symlink with a basically empty directory, owned by my user ID!)

I tried setting CPACK_IGNORE_FILES, but that didn't seem to help. Did I do something wrong?

(Using CMake/CPack 2.6.0.)

--
---- Martin Blom --------------------------- [EMAIL PROTECTED] ----
Eccl 1:18                                 http://martin.blom.org/
begin:vcard
fn:Martin Blom
n:Blom;Martin
email;internet:[EMAIL PROTECTED]
tel;fax:+46-754-467462
tel;home:+46-13-260044
tel;cell:+46-709-260044
x-mozilla-html:FALSE
version:2.1
end:vcard

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to