Makefile revision 5441
1487N/A#
1487N/A# CDDL HEADER START
1487N/A#
1487N/A# The contents of this file are subject to the terms of the
1487N/A# Common Development and Distribution License (the "License").
1487N/A# You may not use this file except in compliance with the License.
1487N/A#
1487N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1487N/A# or http://www.opensolaris.org/os/licensing.
1487N/A# See the License for the specific language governing permissions
1487N/A# and limitations under the License.
1487N/A#
1487N/A# When distributing Covered Code, include this CDDL HEADER in each
1487N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1487N/A# If applicable, add the following below this CDDL HEADER, with the
1487N/A# fields enclosed by brackets "[]" replaced with your own identifying
1487N/A# information: Portions Copyright [yyyy] [name of copyright owner]
1487N/A#
1487N/A# CDDL HEADER END
1487N/A#
5353N/A# Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.
1487N/A#
5441N/Ainclude ../../../../make-rules/shared-macros.mk
5441N/A
5441N/A
5441N/AGIT_REPO= https://github.com/oraclesolaris/puppet-solaris_providers
5441N/AGIT_BRANCH= v1.0.2
5441N/AGIT_COMMIT_ID= c4b6092
5441N/AGIT_HASH= sha256:12b9c1a169e95494dc2c8463fecafcdf4875642bc0970a2a59fdbc4cfa09df50
1487N/A
5441N/ACOMPONENT_NAME= puppet-solaris_providers
5441N/ACOMPONENT_VERSION= 1.0.2
5441N/ACOMPONENT_PROJECT_URL= https://github.com/oraclesolaris/puppet-solaris_providers
5441N/A# github releases provide direct archive downloads
5441N/ACOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)/archive/$(GIT_BRANCH).tar.gz
5441N/A# Construct our own SRC instead of using the default with GIT_COMMIT_ID
5441N/A# archive from github strips leading v from release for vN named release tags
5441N/ACOMPONENT_SRC=$(COMPONENT_NAME)-$(shell echo $(GIT_BRANCH) | sed -e 's/v//')
1487N/ACOMPONENT_BUGDB= utility/puppet
1487N/A
3160N/ATPNO= 18128
2899N/A
3817N/Ainclude $(WS_MAKE_RULES)/prep.mk
5441N/Ainclude $(WS_MAKE_RULES)/puppetmodule.mk
3817N/Ainclude $(WS_MAKE_RULES)/ips.mk
1487N/A
1487N/A
5441N/AMODULE_NAME = solaris_providers
1487N/A
1938N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
1938N/A
5441N/A# generate manifest for files supplied from git repo on demand
5441N/Aoracle-solaris_providers-github.frag: install
5441N/A $(PKGSEND) generate $(PROTO_DIR)/etc/puppet/modules/ | \
5441N/A $(GSED) -e 's/\(file\|dir\).*path=/\1 path=/' | \
5441N/A $(PKGFMT) > oracle-solaris_providers-github.frag
1487N/A
5441N/A# common targets
5441N/Abuild: $(BUILD_NO_ARCH)
1888N/A
5441N/Ainstall: $(INSTALL_NO_ARCH)
5441N/A
1487N/Atest: $(NO_TESTS)
1487N/A
4337N/Asystem-test: $(NO_TESTS)
4337N/A
5441N/APKG_PROTO_DIRS += files
5441N/AREQUIRED_PACKAGES += system/management/puppet