Makefile revision 1637
4ab980a06412fd86f52a6d054fb7e26de155c530erikabele# CDDL HEADER START
4ab980a06412fd86f52a6d054fb7e26de155c530erikabele# The contents of this file are subject to the terms of the
4ab980a06412fd86f52a6d054fb7e26de155c530erikabele# Common Development and Distribution License (the "License").
4ab980a06412fd86f52a6d054fb7e26de155c530erikabele# You may not use this file except in compliance with the License.
4ab980a06412fd86f52a6d054fb7e26de155c530erikabele# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4ab980a06412fd86f52a6d054fb7e26de155c530erikabele# See the License for the specific language governing permissions
4ab980a06412fd86f52a6d054fb7e26de155c530erikabele# and limitations under the License.
4ab980a06412fd86f52a6d054fb7e26de155c530erikabele# When distributing Covered Code, include this CDDL HEADER in each
4ab980a06412fd86f52a6d054fb7e26de155c530erikabele# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4ab980a06412fd86f52a6d054fb7e26de155c530erikabele# If applicable, add the following below this CDDL HEADER, with the
4ab980a06412fd86f52a6d054fb7e26de155c530erikabele# fields enclosed by brackets "[]" replaced with your own identifying
4ab980a06412fd86f52a6d054fb7e26de155c530erikabele# information: Portions Copyright [yyyy] [name of copyright owner]
4ab980a06412fd86f52a6d054fb7e26de155c530erikabele# CDDL HEADER END
4ab980a06412fd86f52a6d054fb7e26de155c530erikabele# Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
4ab980a06412fd86f52a6d054fb7e26de155c530erikabeleCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
4ab980a06412fd86f52a6d054fb7e26de155c530erikabeleCOMPONENT_PROJECT_URL= http://pypi.python.org/pypi/pep8
4ab980a06412fd86f52a6d054fb7e26de155c530erikabele sha256:a39adf83fdeab6072117087dd5b7daa8b6a5ec254730e1c4756f1d5687145258
4ab980a06412fd86f52a6d054fb7e26de155c530erikabeleCOMPONENT_ARCHIVE_URL= http://pypi.python.org/packages/source/p/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
4ab980a06412fd86f52a6d054fb7e26de155c530erikabele# Replace "#!/usr/bin/env ..." shebang lines with properly versioned ones.
4ab980a06412fd86f52a6d054fb7e26de155c530erikabele -exec $(GSED) -i -e 's/env python/python$(PYTHON_VERSION)/' "{}" \; ;
4ab980a06412fd86f52a6d054fb7e26de155c530erikabele# Put the correct pep8 version number on the .TH line in the man page in
4ab980a06412fd86f52a6d054fb7e26de155c530erikabele# the proto area.
4ab980a06412fd86f52a6d054fb7e26de155c530erikabele (cd $(PROTO_DIR)/usr/bin ; $(MV) -f pep8 pep8-$(PYTHON_VERSION))
4ab980a06412fd86f52a6d054fb7e26de155c530erikabele# common targets