Makefile revision 7041
98N/A#
98N/A# CDDL HEADER START
98N/A#
98N/A# The contents of this file are subject to the terms of the
908N/A# Common Development and Distribution License (the "License").
733N/A# You may not use this file except in compliance with the License.
98N/A#
98N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
98N/A# or http://www.opensolaris.org/os/licensing.
98N/A# See the License for the specific language governing permissions
98N/A# and limitations under the License.
98N/A#
98N/A# When distributing Covered Code, include this CDDL HEADER in each
98N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
98N/A# If applicable, add the following below this CDDL HEADER, with the
98N/A# fields enclosed by brackets "[]" replaced with your own identifying
98N/A# information: Portions Copyright [yyyy] [name of copyright owner]
98N/A#
98N/A# CDDL HEADER END
98N/A#
98N/A# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
98N/A#
98N/A
98N/ABUILD_BITS= NO_ARCH
98N/Ainclude ../../../make-rules/shared-macros.mk
98N/A
98N/ACOMPONENT_NAME= docbook-xsl
98N/ACOMPONENT_VERSION= 1.75.2
98N/ACOMPONENT_PROJECT_URL= http://docbook.sourceforge.net/
98N/A# docs are in a separate tarball that unpacks into a subdirectory
98N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
98N/ACOMPONENT_SRC_1= \
98N/A $(COMPONENT_SRC:$(COMPONENT_NAME)-%=$(COMPONENT_NAME)-doc-%)
98N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
235N/ACOMPONENT_ARCHIVE_1= $(COMPONENT_SRC_1).tar.bz2
156N/ACOMPONENT_ARCHIVE_HASH= \
156N/A sha256:0dcc3aebd2ada8719e47b77c62ab986c4f2747f9a7cab6f629b6472e6d058e09
156N/ACOMPONENT_ARCHIVE_HASH_1= \
156N/A sha256:e28ab23e61870204f7e693ee204c01fa802c06c8b5da45ae6b65450628f6a8f9
98N/ACOMPONENT_ARCHIVE_URL= http://prdownloads.sourceforge.net/docbook/$(COMPONENT_ARCHIVE)
98N/ACOMPONENT_ARCHIVE_URL_1=$(COMPONENT_ARCHIVE_URL:$(COMPONENT_ARCHIVE)=$(COMPONENT_ARCHIVE_1))
98N/ACOMPONENT_BUGDB= utility/docbook
98N/A
493N/ATPNO= 9656
493N/A
98N/ATEST_TARGET = $(NO_TESTS)
98N/A
235N/Ainclude $(WS_MAKE_RULES)/prep.mk
493N/Ainclude $(WS_MAKE_RULES)/ips.mk
98N/A
98N/A# Docs archive tries to unpack into a subdir of the main archive, so we
98N/A# need to redirect to its own source dir to make userland-unpack work
98N/AUNPACK_ARGS_1= -r $(COMPONENT_SRC_1)
606N/A
98N/A# Install the subset of files we want to package, so it's easier to
98N/A# generate sample-manifests consistently from new versions
98N/AXSL_DIR=/usr/share/sgml/docbook/xsl-stylesheets-$(COMPONENT_VERSION)
606N/ADOC_DIR=/usr/share/doc/docbook-style-xsl/doc
606N/AGNUTAR = $(GNUBIN)/tar
98N/A
493N/Ainstall: $(SOURCE_DIR)/.prep
493N/A -$(RM) -r $(PROTO_DIR)/usr
493N/A $(MKDIR) $(PROTO_DIR)$(XSL_DIR) $(PROTO_DIR)$(DOC_DIR)
98N/A $(GNUTAR) -C $(SOURCE_DIR) --exclude-ignore=$(COMPONENT_DIR)/exclude \
98N/A -cf - . | $(GNUTAR) -C $(PROTO_DIR)$(XSL_DIR) -xf -
98N/A $(GNUTAR) -C $(SOURCE_DIR_1)/$(COMPONENT_SRC)/doc -cf - . \
98N/A | $(GNUTAR) -C $(PROTO_DIR)$(DOC_DIR) -xf -
908N/A $(SYMLINK) VERSION $(PROTO_DIR)$(XSL_DIR)/VERSION.xsl
591N/A
493N/A# Used in SMF method scripts:
493N/AREQUIRED_PACKAGES += data/xml-common
493N/AREQUIRED_PACKAGES += library/libxml2
493N/AREQUIRED_PACKAGES += shell/bash
493N/A# SMF manifest dependencies:
493N/AREQUIRED_PACKAGES += system/core-os
493N/A