--- a/components/pylint/Makefile Fri Feb 17 05:23:58 2012 -0800
+++ b/components/pylint/Makefile Fri Feb 17 05:35:25 2012 -0800
@@ -19,7 +19,7 @@
# CDDL HEADER END
#
-# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
#
include ../../make-rules/shared-macros.mk
@@ -36,6 +36,42 @@
include $(WS_TOP)/make-rules/ips.mk
include $(WS_TOP)/make-rules/setup.py.mk
+# There are several pylint documentation files that setup.py isn't installing
+# but are present in the pylint package on other distributions. Copy them into
+# the proto area "manually", so they can be included in the package.
+PDOC = $(PROTO_DIR)/usr/share/doc
+PDOC_PYLINT = $(PDOC)/pylint
+PDOC_PYLINT_EXAMPLES = $(PDOC_PYLINT)/examples
+
+COMPONENT_POST_INSTALL_ACTION += \
+ $(MKDIR) $(PDOC_PYLINT) ;
+COMPONENT_POST_INSTALL_ACTION += \
+ $(CP) $(COMPONENT_SRC)/doc/beginner_pylint_tutorial.txt $(PDOC_PYLINT) ;
+COMPONENT_POST_INSTALL_ACTION += \
+ $(CP) $(COMPONENT_SRC)/doc/FAQ.txt $(PDOC_PYLINT) ;
+COMPONENT_POST_INSTALL_ACTION += \
+ $(CP) $(COMPONENT_SRC)/doc/features.txt $(PDOC_PYLINT) ;
+COMPONENT_POST_INSTALL_ACTION += \
+ $(CP) $(COMPONENT_SRC)/doc/manual.txt $(PDOC_PYLINT) ;
+COMPONENT_POST_INSTALL_ACTION += \
+ $(CP) $(COMPONENT_SRC)/doc/quickstart.txt $(PDOC_PYLINT) ;
+COMPONENT_POST_INSTALL_ACTION += \
+ $(CP) $(COMPONENT_SRC)/README $(PDOC_PYLINT) ;
+
+COMPONENT_POST_INSTALL_ACTION += \
+ $(MKDIR) $(PDOC_PYLINT_EXAMPLES) ;
+COMPONENT_POST_INSTALL_ACTION += \
+ $(CP) $(COMPONENT_SRC)/examples/custom.py $(PDOC_PYLINT_EXAMPLES) ;
+COMPONENT_POST_INSTALL_ACTION += \
+ $(CP) $(COMPONENT_SRC)/examples/custom_raw.py $(PDOC_PYLINT_EXAMPLES) ;
+COMPONENT_POST_INSTALL_ACTION += \
+ $(CP) $(COMPONENT_SRC)/elisp/pylint.el $(PDOC_PYLINT_EXAMPLES) ;
+COMPONENT_POST_INSTALL_ACTION += \
+ $(CP) $(COMPONENT_SRC)/examples/pylintrc_camelcase $(PDOC_PYLINT_EXAMPLES) ;
+COMPONENT_POST_INSTALL_ACTION += \
+ $(CP) $(COMPONENT_SRC)/examples/pylintrc $(PDOC_PYLINT_EXAMPLES) ;
+
+
# common targets
build: $(BUILD_32)
--- a/components/pylint/pylint.p5m Fri Feb 17 05:23:58 2012 -0800
+++ b/components/pylint/pylint.p5m Fri Feb 17 05:35:25 2012 -0800
@@ -18,7 +18,7 @@
#
# CDDL HEADER END
#
-# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
#
<transform file path=usr.*/man/.+ -> default mangler.man.stability uncommitted>
@@ -45,6 +45,9 @@
dir path=usr/lib/python2.6/vendor-packages/pylint/pyreverse
dir path=usr/lib/python2.6/vendor-packages/pylint/reporters
dir path=usr/share
+dir path=usr/share/doc
+dir path=usr/share/doc/pylint
+dir path=usr/share/doc/pylint/examples
dir path=usr/share/man
dir path=usr/share/man/man1
@@ -94,6 +97,17 @@
file path=usr/lib/python2.6/vendor-packages/pylint/reporters/html.py
file path=usr/lib/python2.6/vendor-packages/pylint/reporters/text.py
file path=usr/lib/python2.6/vendor-packages/pylint/utils.py
+file path=usr/share/doc/pylint/beginner_pylint_tutorial.txt
+file path=usr/share/doc/pylint/FAQ.txt
+file path=usr/share/doc/pylint/features.txt
+file path=usr/share/doc/pylint/manual.txt
+file path=usr/share/doc/pylint/quickstart.txt
+file path=usr/share/doc/pylint/README
+file path=usr/share/doc/pylint/examples/custom.py pkg.tmp.autopyc=false
+file path=usr/share/doc/pylint/examples/custom_raw.py pkg.tmp.autopyc=false
+file path=usr/share/doc/pylint/examples/pylint.el
+file path=usr/share/doc/pylint/examples/pylintrc_camelcase
+file path=usr/share/doc/pylint/examples/pylintrc
file manpages/epylint.1 path=usr/share/man/man1/epylint.1
file man/pylint.1 path=usr/share/man/man1/pylint.1
file manpages/pylint-gui.1 path=usr/share/man/man1/pylint-gui.1