Makefile revision 152
#
# 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
#
#
#
# man pages are a separate archive
#
COMPONENT_INSTALL_ENV+= PERL_LIB=$(shell /usr/perl5/$(PERL_VERSION)/bin/perl -MConfig -e 'print "$$Config{installvendorarch}"')
#
# This runs configure but configure doesn't generate a Makefile.
# Instead a Makefile comes with git ...
# Anyways viewpathing doesn't work.
# Therefore we need cloney to copy a set of files to build.
#
#
# Processed man pages go here.
#
#
# I know. It's ugly.
# But these man pages come in a separate archive with no Makefile
# and Solaris likes some of them moved around hence we'll just
# do it manually here.
#
do \
done
do \
done
do \
done
#
# install manpages per architecture
#
$(BUILD_DIR_32)/.manpages:
$(MKDIR) $(PROTOUSRSHAREMAN1DIR)
$(MKDIR) $(PROTOUSRSHAREMAN4DIR)
$(MKDIR) $(PROTOUSRSHAREMAN5DIR)
do \
done
do \
done
do \
done
#
# tests fully pass when done in the archive directory.
# fail here; probably due to the use of cloney.
#
test: build
@cd $(BUILD_DIR_32); $(MAKE) test