[CMake] CPack system directory issues (PackageManager, RPM)
Martin Blom
martin at blom.org
Wed Jun 18 17:36:41 EDT 2008
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 --------------------------- martin at blom.org ----
Eccl 1:18 http://martin.blom.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: martin.vcf
Type: text/x-vcard
Size: 186 bytes
Desc: not available
URL: <http://www.cmake.org/pipermail/cmake/attachments/20080618/39146ae1/attachment.vcf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3271 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://www.cmake.org/pipermail/cmake/attachments/20080618/39146ae1/attachment.bin>
More information about the CMake
mailing list