Makefile revision 493
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# CDDL HEADER START
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# The contents of this file are subject to the terms of the
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# Common Development and Distribution License (the "License").
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# You may not use this file except in compliance with the License.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# See the License for the specific language governing permissions
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# and limitations under the License.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# When distributing Covered Code, include this CDDL HEADER in each
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# If applicable, add the following below this CDDL HEADER, with the
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# fields enclosed by brackets "[]" replaced with your own identifying
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# information: Portions Copyright [yyyy] [name of copyright owner]
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# CDDL HEADER END
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsyncCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsyncCOMPONENT_ARCHIVE_HASH= sha1:cd8d806752aa6f5716cf193585024a002e098bf4
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsyncCOMPONENT_ARCHIVE_URL= http://kernel.org/pub/software/scm/git/$(COMPONENT_ARCHIVE)
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# man pages are a separate archive
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsyncCOMPONENT_ARCHIVE_1 = $(COMPONENT_NAME)-manpages-$(COMPONENT_VERSION).tar.bz2
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsyncCOMPONENT_ARCHIVE_HASH_1 = sha1:0be6fabbca523085e185711f2b80c99330f1e4ac
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsyncCOMPONENT_ARCHIVE_URL_1 = http://kernel.org/pub/software/scm/git/$(COMPONENT_ARCHIVE_1)
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsyncCOMPONENT_INSTALL_ENV+= PERL_LIB=$(shell $(PERL) -MConfig -e 'print "$$Config{installvendorarch}"')
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# This runs configure but configure doesn't generate a Makefile.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# Instead a Makefile comes with git ...
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# Anyways viewpathing doesn't work.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# Therefore we need cloney to copy a set of files to build.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# Processed man pages go here.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# tests fully pass when done in the archive directory.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# fail here; probably due to the use of cloney.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# I know. It's ugly.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# But these man pages come in a separate archive with no Makefile
$(TOUCH) $@