Makefile revision 1258
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen# CDDL HEADER START
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen# The contents of this file are subject to the terms of the
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen# Common Development and Distribution License (the "License").
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen# You may not use this file except in compliance with the License.
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen# See the License for the specific language governing permissions
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen# and limitations under the License.
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen# When distributing Covered Code, include this CDDL HEADER in each
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen# If applicable, add the following below this CDDL HEADER, with the
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen# fields enclosed by brackets "[]" replaced with your own identifying
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen# information: Portions Copyright [yyyy] [name of copyright owner]
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen# CDDL HEADER END
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
981b809bc6ed10a21e89444d9447e5475801874fjohanengelenCOMPONENT_PROJECT_URL= http://fedorahosted.org/hal-cups-utils/
981b809bc6ed10a21e89444d9447e5475801874fjohanengelenCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen sha256:f40a7ebd1453d471a8a6bfd8c635708dd739a6160bb661813f936d936ba85618
981b809bc6ed10a21e89444d9447e5475801874fjohanengelenCOMPONENT_ARCHIVE_URL= http://fedorahosted.org/releases/h/a/hal-cups-utils/$(COMPONENT_ARCHIVE)
981b809bc6ed10a21e89444d9447e5475801874fjohanengelenCONFIGURE_OPTIONS += --libexecdir=$(USRLIBDIR)/hal
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen# Since we patch Makefile.am, we have to rebuild the autoconf generated files
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen# Just running automake does not work, since our automake is different from the one
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen# used by hal-cups-utils maintainer
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen ACLOCAL=$(ACLOCAL) AUTOMAKE=$(AUTOMAKE) autoreconf; \
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen $(PERL) -pi -e 's,^\#!.*?python,\#!$(USED_PYTHON), if $$.==1' systemv/hal_lpadmin ; \