Makefile revision 844
247N/A#
247N/A# CDDL HEADER START
247N/A#
247N/A# The contents of this file are subject to the terms of the
247N/A# Common Development and Distribution License (the "License").
247N/A# You may not use this file except in compliance with the License.
247N/A#
247N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
247N/A# or http://www.opensolaris.org/os/licensing.
247N/A# See the License for the specific language governing permissions
247N/A# and limitations under the License.
247N/A#
247N/A# When distributing Covered Code, include this CDDL HEADER in each
247N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
247N/A# If applicable, add the following below this CDDL HEADER, with the
247N/A# fields enclosed by brackets "[]" replaced with your own identifying
247N/A# information: Portions Copyright [yyyy] [name of copyright owner]
247N/A#
247N/A# CDDL HEADER END
247N/A
247N/A#
714N/A# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
247N/A#
247N/A
247N/Ainclude ../../make-rules/shared-macros.mk
247N/A
247N/ACOMPONENT_NAME= pylint
247N/ACOMPONENT_VERSION= 0.18.0
247N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
247N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
844N/ACOMPONENT_ARCHIVE_HASH= \
844N/A sha256:54e8135fdb44b41797510ed8e246b19d09c98ead4dec704c5e5152028a79976f
247N/ACOMPONENT_ARCHIVE_URL= http://ftp.logilab.org/pub/pylint/$(COMPONENT_ARCHIVE)
247N/ACOMPONENT_PROJECT_URL= http://www.logilab.org/project/pylint/
247N/A
247N/Ainclude $(WS_TOP)/make-rules/prep.mk
247N/Ainclude $(WS_TOP)/make-rules/ips.mk
247N/Ainclude $(WS_TOP)/make-rules/setup.py.mk
247N/A
714N/A# There are several pylint documentation files that setup.py isn't installing
714N/A# but are present in the pylint package on other distributions. Copy them into
714N/A# the proto area "manually", so they can be included in the package.
714N/APDOC = $(PROTO_DIR)/usr/share/doc
714N/APDOC_PYLINT = $(PDOC)/pylint
714N/APDOC_PYLINT_EXAMPLES = $(PDOC_PYLINT)/examples
714N/A
714N/ACOMPONENT_POST_INSTALL_ACTION += \
714N/A $(MKDIR) $(PDOC_PYLINT) ;
714N/ACOMPONENT_POST_INSTALL_ACTION += \
714N/A $(CP) $(COMPONENT_SRC)/doc/beginner_pylint_tutorial.txt $(PDOC_PYLINT) ;
714N/ACOMPONENT_POST_INSTALL_ACTION += \
714N/A $(CP) $(COMPONENT_SRC)/doc/FAQ.txt $(PDOC_PYLINT) ;
714N/ACOMPONENT_POST_INSTALL_ACTION += \
714N/A $(CP) $(COMPONENT_SRC)/doc/features.txt $(PDOC_PYLINT) ;
714N/ACOMPONENT_POST_INSTALL_ACTION += \
714N/A $(CP) $(COMPONENT_SRC)/doc/manual.txt $(PDOC_PYLINT) ;
714N/ACOMPONENT_POST_INSTALL_ACTION += \
714N/A $(CP) $(COMPONENT_SRC)/doc/quickstart.txt $(PDOC_PYLINT) ;
714N/ACOMPONENT_POST_INSTALL_ACTION += \
714N/A $(CP) $(COMPONENT_SRC)/README $(PDOC_PYLINT) ;
714N/A
714N/ACOMPONENT_POST_INSTALL_ACTION += \
714N/A $(MKDIR) $(PDOC_PYLINT_EXAMPLES) ;
714N/ACOMPONENT_POST_INSTALL_ACTION += \
714N/A $(CP) $(COMPONENT_SRC)/examples/custom.py $(PDOC_PYLINT_EXAMPLES) ;
714N/ACOMPONENT_POST_INSTALL_ACTION += \
714N/A $(CP) $(COMPONENT_SRC)/examples/custom_raw.py $(PDOC_PYLINT_EXAMPLES) ;
714N/ACOMPONENT_POST_INSTALL_ACTION += \
714N/A $(CP) $(COMPONENT_SRC)/elisp/pylint.el $(PDOC_PYLINT_EXAMPLES) ;
714N/ACOMPONENT_POST_INSTALL_ACTION += \
714N/A $(CP) $(COMPONENT_SRC)/examples/pylintrc_camelcase $(PDOC_PYLINT_EXAMPLES) ;
714N/ACOMPONENT_POST_INSTALL_ACTION += \
714N/A $(CP) $(COMPONENT_SRC)/examples/pylintrc $(PDOC_PYLINT_EXAMPLES) ;
783N/ACOMPONENT_POST_INSTALL_ACTION += \
783N/A (cd $(PROTO_DIR)/usr/bin; $(MV) epylint epylint-$(PYTHON_VERSION)) ;
783N/ACOMPONENT_POST_INSTALL_ACTION += \
783N/A (cd $(PROTO_DIR)/usr/bin; $(MV) pylint pylint-$(PYTHON_VERSION)) ;
783N/ACOMPONENT_POST_INSTALL_ACTION += \
783N/A (cd $(PROTO_DIR)/usr/bin; $(MV) pylint-gui pylint-gui-$(PYTHON_VERSION)) ;
783N/ACOMPONENT_POST_INSTALL_ACTION += \
783N/A (cd $(PROTO_DIR)/usr/bin; $(MV) pyreverse pyreverse-$(PYTHON_VERSION)) ;
783N/ACOMPONENT_POST_INSTALL_ACTION += \
783N/A (cd $(PROTO_DIR)/usr/bin; $(MV) symilar symilar-$(PYTHON_VERSION)) ;
714N/A
714N/A
247N/A# common targets
247N/A
247N/Abuild: $(BUILD_32)
247N/A
247N/Ainstall: $(INSTALL_32)
247N/A
247N/Atest: $(TEST_32)
247N/A
247N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
247N/A
247N/Ainclude $(WS_TOP)/make-rules/depend.mk