Makefile revision 5680
0N/A# The contents of this file are subject to the terms of the 0N/A# Common Development and Distribution License (the "License"). 0N/A# You may not use this file except in compliance with the License. 0N/A# See the License for the specific language governing permissions 0N/A# and limitations under the License. 0N/A# When distributing Covered Code, include this CDDL HEADER in each 0N/A# If applicable, add the following below this CDDL HEADER, with the 0N/A# fields enclosed by brackets "[]" replaced with your own identifying 0N/A# information: Portions Copyright [yyyy] [name of copyright owner] 0N/A# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved. 0N/A# We need to be able to return from void functions 0N/A# common configure options # We build two variants: for the CUPS/SANE support # and for the HPIJS only support # use these options for the CUPS/SANE support # use these options for the HPIJS only support # Generate configuration scripts # set version of python interpreter to calm the pkglint while IFS=
read -r -d $
$'\0' file;
do \
/
usr/
bin/
sed -e
'1,1s&^#!.*python[:blank:]\{0,\}$$&#!$(PYTHON.$(PYTHON_VERSION))&' \
while IFS=
read -r -d $
$'\0' file;
do \
# Since it looks like you can't build HPLIP with both HPIJS and CUPS support # and seperate the HPIJS and CUPS PPD data, we need to replicate the code and # build it twice. Once for the HPIJS support used by LP and once for the rest # of the support used for CUPS and SANE.