Makefile revision 7139
5758e9adfb009286b2b719ff83eb284f1019c589Mark Andrews# CDDL HEADER START
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews# The contents of this file are subject to the terms of the
6a3c86ff436452d062912bd91ecd289541869d42Mark Andrews# Common Development and Distribution License (the "License").
6a3c86ff436452d062912bd91ecd289541869d42Mark Andrews# You may not use this file except in compliance with the License.
e0fa16fe191d619d2cd05a039067414409329878Mark Andrews# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
93da96c1cfd5f3c47169855867dd18db00c8a386Mark Andrews# See the License for the specific language governing permissions
93da96c1cfd5f3c47169855867dd18db00c8a386Mark Andrews# and limitations under the License.
7d389c324cc032475f9d219a12ab84bacbd7fbaaMark Andrews# When distributing Covered Code, include this CDDL HEADER in each
7d389c324cc032475f9d219a12ab84bacbd7fbaaMark Andrews# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
cd9bfe5b256a3e84ba090e8fcb5de0d6c50974aeMark Andrews# If applicable, add the following below this CDDL HEADER, with the
cd9bfe5b256a3e84ba090e8fcb5de0d6c50974aeMark Andrews# fields enclosed by brackets "[]" replaced with your own identifying
935afdff81843012abeabf8b06e7d3887e7c5e21Mark Andrews# information: Portions Copyright [yyyy] [name of copyright owner]
dcd371be7d481b242d277d735e4c2d974297c164Mark Andrews# CDDL HEADER END
cc4928ec7116a064223f60639ca1a80f25ba350fMark Andrews# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
9b7c023fe6dc88ba1e69ace1f7c3ade40c6475f9Mark AndrewsCOMPONENT_PROJECT_URL= http://docbook.sourceforge.net/
9b7c023fe6dc88ba1e69ace1f7c3ade40c6475f9Mark Andrews# docs are in a separate tarball that unpacks into a subdirectory
9b7c023fe6dc88ba1e69ace1f7c3ade40c6475f9Mark AndrewsCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
0a1fa37641b59c56d02f5390917a49e4987f0f75Mark Andrews $(COMPONENT_SRC:$(COMPONENT_NAME)-%=$(COMPONENT_NAME)-doc-%)
c61ec97ae0b859914ee26e213fe792f86a157990Mark Andrews sha256:0dcc3aebd2ada8719e47b77c62ab986c4f2747f9a7cab6f629b6472e6d058e09
49f7d1585e0e4f1ffa1667391dd7ae1c4d3d4e81Mark Andrews sha256:e28ab23e61870204f7e693ee204c01fa802c06c8b5da45ae6b65450628f6a8f9
49f7d1585e0e4f1ffa1667391dd7ae1c4d3d4e81Mark AndrewsCOMPONENT_ARCHIVE_URL= http://prdownloads.sourceforge.net/docbook/$(COMPONENT_ARCHIVE)
0b1af13f680a865521105a77ee192024b5af33c4Mark AndrewsCOMPONENT_ARCHIVE_URL_1=$(COMPONENT_ARCHIVE_URL:$(COMPONENT_ARCHIVE)=$(COMPONENT_ARCHIVE_1))
c549b3a4d5fedba2ae960df667864e824acb1ef9Mark Andrews# Docs archive tries to unpack into a subdir of the main archive, so we
3a7c831b697b4604bc90019f2ccc217338117a1cMark Andrews# need to redirect to its own source dir to make userland-unpack work
3a7c831b697b4604bc90019f2ccc217338117a1cMark Andrews# Install the subset of files we want to package, so it's easier to
d73de275987d29627dc11d5bd4a22874a29f7874Mark Andrews# generate sample-manifests consistently from new versions
3a7c831b697b4604bc90019f2ccc217338117a1cMark AndrewsXSL_DIR=/usr/share/sgml/docbook/xsl-stylesheets-$(COMPONENT_VERSION)
da091cda77fa951e682119c3df84f60a62bed702Mark Andrews $(MKDIR) $(PROTO_DIR)$(XSL_DIR) $(PROTO_DIR)$(DOC_DIR)
3a7c831b697b4604bc90019f2ccc217338117a1cMark Andrews $(GNUTAR) -C $(SOURCE_DIR) --exclude-ignore=$(COMPONENT_DIR)/exclude \
d8d489cd8efc45b06a232ac07a636b3d36cc7e8fMark Andrews -cf - . | $(GNUTAR) -C $(PROTO_DIR)$(XSL_DIR) -xf -
d8d489cd8efc45b06a232ac07a636b3d36cc7e8fMark Andrews $(GNUTAR) -C $(SOURCE_DIR_1)/$(COMPONENT_SRC)/doc -cf - . \
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews $(SYMLINK) VERSION $(PROTO_DIR)$(XSL_DIR)/VERSION.xsl
3a7c831b697b4604bc90019f2ccc217338117a1cMark Andrews# Used in SMF method scripts:
a1edcd1b8d430650d85ec0962cd32efde76a71fbMark Andrews# SMF manifest dependencies: