15N/A#
15N/A# CDDL HEADER START
15N/A#
15N/A# The contents of this file are subject to the terms of the
15N/A# Common Development and Distribution License (the "License").
15N/A# You may not use this file except in compliance with the License.
15N/A#
15N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
15N/A# or http://www.opensolaris.org/os/licensing.
15N/A# See the License for the specific language governing permissions
15N/A# and limitations under the License.
15N/A#
15N/A# When distributing Covered Code, include this CDDL HEADER in each
15N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15N/A# If applicable, add the following below this CDDL HEADER, with the
15N/A# fields enclosed by brackets "[]" replaced with your own identifying
15N/A# information: Portions Copyright [yyyy] [name of copyright owner]
15N/A#
15N/A# CDDL HEADER END
15N/A#
15N/A
15N/A#
5885N/A# Copyright (c) 2010, 2016, Oracle and/or its affiliates. All rights reserved.
15N/A#
15N/A
15N/A# man pages
15N/A<transform dir file link hardlink path=usr.*/man(/.+){0,1}$ -> \
1274N/A default facet.doc.man all>
15N/A
15N/A# texinfo docs
2475N/A
2475N/A# tag texinfo directory links
2475N/A<transform link path=.*/info/dir$ -> default facet.doc.info all>
2475N/A# tag files directly under .../share/info/
2475N/A<transform file link hardlink path=.*/share/info/[^/]+$ -> \
1274N/A default facet.doc.info all>
2475N/A# tag files in .../info/ that look like *.info[-#][.gz]
2475N/A<transform file link hardlink path=.*/info/[^/]+\.info(-\d+){0,1}(\.gz){0,1}$ -> \
2475N/A default facet.doc.info all>
2475N/A# if there are tagged files, we want to restart the texinfo-update service so
2475N/A# that the directories get updated.
2475N/A<transform file facet.doc.info=all -> \
241N/A add restart_fmri svc:/application/texinfo-update:default>
2475N/A# there shouldn't be any texinfo directory files in /usr.
2475N/A<transform file path=usr/.*/info/dir$ -> \
2475N/A exit 1 "Error: packaged texinfo directory file (%<action.path>)" >
15N/A
15N/A# html docs
138N/A<transform dir file link hardlink path=usr/.*/doc/.*(html?|css).* -> \
1274N/A default facet.doc.html all>
15N/A<transform dir file link hardlink path=usr/lib/help/.*\.html$ -> \
1274N/A default facet.doc.html all>
6040N/A<transform dir file link hardlink path=usr/share/devhelp/books/.* -> \
6040N/A default facet.doc.html all>
5885N/A<transform dir file link hardlink path=usr/share/gtk-doc/html/.* -> \
5885N/A default facet.doc.html all>
5885N/A
3109N/A# Ruby API html docs
3109N/A<transform file path=usr/ruby/.*/lib/ruby/vendor_ruby/.*/doc/.*/rdoc/* -> \
3109N/A default facet.doc.html all>
15N/A
15N/A# pdf docs
15N/A<transform dir file link hardlink path=usr/.*/doc/.*\.pdf$ -> \
1274N/A default facet.doc.pdf all>
15N/A
1094N/A# ps docs
1094N/A<transform dir file link hardlink path=usr/.*/doc/.*\.ps$ -> \
1274N/A default facet.doc.ps all>
1094N/A
3109N/A# Ruby API ri Docs
3109N/A<transform file path=usr/ruby/.*/lib/ruby/vendor_ruby/.*/doc/.*/ri/* -> \
3109N/A default facet.doc.ri all>
3109N/A<transform file path=usr/ruby/.*/share/ri/.*/* -> default facet.doc.ri all>
3109N/A
453N/A# general documentation
15N/A<transform dir file link hardlink path=usr/.*/doc(/.+){0,1}$ -> \
1274N/A default facet.doc all>
453N/A
453N/A# drop facet.doc if we have a type specific facet.
1274N/A<transform dir file link hardlink facet.doc.html=all -> delete facet.doc all>
1274N/A<transform dir file link hardlink facet.doc.info=all -> delete facet.doc all>
1274N/A<transform dir file link hardlink facet.doc.pdf=all -> delete facet.doc all>
1274N/A<transform dir file link hardlink facet.doc.man=all -> delete facet.doc all>
3109N/A<transform dir file link hardlink facet.doc.ri=all -> delete facet.doc all>