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