[cmake-developers] [CMake] [CPack] RPM generator creates %dir for /usr/local/xxx
Domen Vrankar
domen.vrankar at gmail.com
Wed Oct 22 08:08:59 EDT 2014
Moving the conversation to developers mailing list.
More docs on this for 2.8.12:
>
> http://www.cmake.org/cmake/help/v2.8.12/cpack.html#variable:CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION
>
> I guess that "/usr/local" may be added to
> CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST default list values.
>
> For Domen: see the history of this story here:
> http://public.kitware.com/Bug/view.php?id=13609
>
I am familiar with this variable but I haven't noticed until now that not
all the paths Dubrovskiy Viacheslav
<http://public.kitware.com/Bug/view_user_page.php?id=4130> listed in bug
report were removed from auto listing.
Currently
/etc /etc/init.d /usr /usr/share /usr/share/doc /usr/bin /usr/lib
/usr/lib64 /usr/include
paths are removed.
I can add /usr/local to the list. Are there any additional paths from the
above bug report that anyone thinks should be added?
I would assume that all of the directories from Linux filesystem hierarchy
standard (http://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard,
http://www.pathname.com/fhs/pub/fhs-2.3.html) should be excluded on Linux
however UNIX filesystem hierarchy has less directories listed on wiki (
http://en.wikipedia.org/wiki/Unix_filesystem) and I am not even certain
that all flavours of UNIX use them.
I think that at least directories that are listed both for Linux and Unix
should be added.
What is the opinion of others?
Domen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20141022/f4d99f51/attachment-0002.html>
More information about the cmake-developers
mailing list