#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
#
# fake version for conglomeration of versions
# see below for actual sources
BUILD_TARGET += prep
BUILD_TARGET += $(DTDS_INC_FILE)
### SGML DTD's
$(foreach n, 1 2 3 4 5 6 7 8, \
$(eval COMPONENT_ARCHIVE_URL_$(n) = $(COMPONENT_PROJECT_URL)sgml/$(COMPONENT_VERSION_$(n))/$(COMPONENT_ARCHIVE_$(n))) \
$(eval INSTALL_TARGET += \
)
### XML DTD's
$(foreach n, 50 51 52 53 54, \
$(eval COMPONENT_ARCHIVE_URL_$(n) = $(COMPONENT_PROJECT_URL)xml/$(COMPONENT_VERSION_$(n))/$(COMPONENT_ARCHIVE_$(n))) \
$(eval INSTALL_TARGET += \
)
$(PROTOETCDIR)/sgml:
$(MKDIR) $@
$(TOUCH) $@
# generate the source-url metadata for the package manifest from all the URLs
$(DTDS_INC_FILE): $(BUILD_DIR)
-$(RM) $@
printf 'set name=info.source-url ' >> $@
done
print '' >> $@