Makefile revision 1273
3199N/A#
3199N/A# CDDL HEADER START
3199N/A#
3199N/A# The contents of this file are subject to the terms of the
3199N/A# Common Development and Distribution License (the "License").
3199N/A# You may not use this file except in compliance with the License.
3199N/A#
3199N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
3199N/A# or http://www.opensolaris.org/os/licensing.
3199N/A# See the License for the specific language governing permissions
3199N/A# and limitations under the License.
3199N/A#
3199N/A# When distributing Covered Code, include this CDDL HEADER in each
3199N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
3199N/A# If applicable, add the following below this CDDL HEADER, with the
3199N/A# fields enclosed by brackets "[]" replaced with your own identifying
3199N/A# information: Portions Copyright [yyyy] [name of copyright owner]
3199N/A#
3199N/A# CDDL HEADER END
3199N/A#
3199N/A# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
3199N/A#
6033N/Ainclude ../../../make-rules/shared-macros.mk
3199N/A
4070N/ACOMPONENT_NAME= foomatic-filters-ppds
3199N/ACOMPONENT_VERSION= 20080818
3199N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
3199N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
6033N/ACOMPONENT_ARCHIVE_HASH= \
6033N/A sha256:906e1ea87ddb7cf0fd27f21c1b077f87644b402f1b7a66d4049a72b68e5eeb05
6033N/ACOMPONENT_ARCHIVE_URL= $(EXTERNAL_ARCHIVE_MIRROR)/$(COMPONENT_ARCHIVE)
3199N/ACOMPONENT_PROJECT_URL= http://www.linuxfoundation.org/collaborate/workgroups/openprinting/database/foomatic/
3199N/ACOMPONENT_BUGDB= utility/foomatic
3199N/A
6033N/Ainclude ../../../make-rules/prep.mk
3199N/Ainclude ../../../make-rules/ips.mk
3199N/A
3199N/ACACHE_FILE=$(PROTOUSRLIBDIR)/lp/caches/SUNWfoomatic.cache
4070N/A
3199N/A$(SOURCE_DIR)/.built: $(SOURCE_DIR)/.prep $(COMPONENT_DIR)/nolicense $(COMPONENT_DIR)/supportedonly.sh
6033N/A $(MKDIR) $(BUILD_DIR)
3199N/A $(SHELL) $(COMPONENT_DIR)/supportedonly.sh $(BUILD_DIR) \
3996N/A $(SOURCE_DIR)/share/ppd $(CACHE_FILE) $(COMPONENT_DIR)/nolicense
3996N/A $(TOUCH) $@
3996N/A
3199N/A# move tree of .ppd-s to proto and gzip it
3199N/A$(SOURCE_DIR)/.installed: $(SOURCE_DIR)/.built
3199N/A $(MKDIR) $(PROTOUSRSHAREDIR)/ppd
3199N/A /usr/bin/find $(SOURCE_DIR)/share/ppd -name "*.ppd" -exec gzip {} +
3199N/A $(CLONEY) $(SOURCE_DIR)/share/ppd $(PROTOUSRSHAREDIR)/ppd/SUNWfoomatic
4623N/A $(TOUCH) $@
3199N/A
4070N/A# common targets
3199N/Abuild: $(SOURCE_DIR)/.built
3199N/A
3199N/Ainstall: $(SOURCE_DIR)/.installed
4070N/A
4070N/Atest: $(NO_TESTS)
4070N/A
4070N/Aclean::
4070N/A $(RM) -r $(BUILD_DIR)
4070N/A
6033N/Ainclude ../../../make-rules/depend.mk
6033N/A