transforms/docs
changeset 15 21f7a7ab78ba
parent 8 f1e8114317ad
child 138 089c2065503f
--- a/transforms/docs	Wed May 19 17:42:26 2010 +0200
+++ b/transforms/docs	Thu May 20 13:21:58 2010 -0500
@@ -1,4 +1,47 @@
-<transform file dir path=usr/.*/man/.* -> add facet.doc.man true>
-<transform file dir path=usr/.*/info/.* -> add facet.doc.info true>
-<transform file dir path=usr/.*/doc/.*html.* -> add facet.doc.html true>
-<transform file dir path=usr/.*/doc/.* -> add facet.doc true>
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+
+#
+# Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
+# Use is subject to license terms.
+#
+
+# man pages
+<transform dir file link hardlink path=usr.*/man(/.+){0,1}$ -> \
+    default facet.doc.man true>
+
+# texinfo docs
+<transform dir file link hardlink path=usr/.*/info(/.+){0,1}$ -> \
+    default facet.doc.info true>
+
+# html docs
+<transform dir file link hardlink path=usr/.*/doc/.*html.* -> \
+    default facet.doc.html true>
+<transform dir file link hardlink path=usr/lib/help/.*\.html$ -> \
+    default facet.doc.html true>
+
+# pdf docs
+<transform dir file link hardlink path=usr/.*/doc/.*\.pdf$ -> \
+    default facet.doc.html true>
+
+# general documetation
+<transform dir file link hardlink path=usr/.*/doc(/.+){0,1}$ -> \
+    default facet.doc true>