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