1 #!/bin/sh 2 # 3 # 4 # CDDL HEADER START 5 # 6 # The contents of this file are subject to the terms of the 7 # Common Development and Distribution License (the "License"). 8 # You may not use this file except in compliance with the License. 9 # 10 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 11 # or http://www.opensolaris.org/os/licensing. 12 # See the License for the specific language governing permissions 13 # and limitations under the License. 14 # 15 # When distributing Covered Code, include this CDDL HEADER in each 16 # file and include the License file at usr/src/OPENSOLARIS.LICENSE. 17 # If applicable, add the following below this CDDL HEADER, with the 18 # fields enclosed by brackets "[]" replaced with your own identifying 19 # information: Portions Copyright [yyyy] [name of copyright owner] 20 # 21 # CDDL HEADER END 22 # 23 # 24 # Copyright 2007 Sun Microsystems, Inc. All rights reserved. 25 # Use is subject to license terms. 26 # 27 #ident "@(#)install-sfw 1.1 07/10/31 SMI" 28 # 29 # Most of the installation is handled by 'make install'. This script 30 # performs a few extra tasks: 31 # - delete some installed files we don't want to deliver 32 # - install the manpages provided by Sun 33 34 VERS=libtool-1.5.22 35 36 PREFIX=${ROOT}/usr 37 SHAREDIR=${PREFIX}/share 38 MAN1DIR=${SHAREDIR}/man/man1 39 40 . ${SRC}/tools/install.subr 41 42 # Remove unused installed files 43 rm -f ${ROOT}/usr/share/info/dir 44 rm -f ${ROOT}/usr/lib/libltdl.la 45 46 # install manpages provided by Sun 47 _install N libtool.1.sunman ${MAN1DIR}/libtool.1 444 48 _install N libtoolize.1.sunman ${MAN1DIR}/libtoolize.1 444 49 50 exit 0 51