#
# Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice (including the next
# paragraph) shall be included in all copies or substantial portions of the
# Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
# DEALINGS IN THE SOFTWARE.
#
## Compatibility links
<transform dir link path=usr/X11 -> default facet.compat.x11-links true>
## Documentation
# Man pages
<transform dir file link hardlink path=usr/share/man(/.+){0,1}$ -> \
default facet.doc.man true>
# General docs
<transform dir file link hardlink path=usr/share/doc/ -> \
default facet.doc true>
<transform dir file link hardlink path=usr/share/doc/.*(css|html?) -> \
default facet.doc.html true>
<transform dir file link hardlink path=usr/share/doc/.*pdf$ -> \
default facet.doc.pdf true>
# RBAC docs
<transform dir file path=usr/lib/help -> default facet.doc.html true>
# Delete generic doc facet when more specific one is listed
<transform dir file link hardlink facet.doc.html=true -> delete facet.doc true>
<transform dir file link hardlink facet.doc.pdf=true -> delete facet.doc true>
## Development files
# Headers
<transform dir path=usr/include -> default facet.devel true>
<transform file link hardlink path=usr/include/.+\.h$ -> \
default facet.devel true>
# pkg-config data files
<transform dir file link hardlink path=usr/(share|lib)(/.+){0,1}/pkgconfig -> \
default facet.devel true>
# autoconf macros
<transform dir file link hardlink path=usr/share/aclocal -> \
default facet.devel true>
# lint libraries
<transform file link hardlink path=usr/lib/llib-.+\.ln$ -> \
default facet.devel true>
# Drop false facets used to override defaults
<transform dir file link hardlink -> delete facet.devel false>