Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 64 lines (54 sloc) 1.797 kB
2381551 @joshwilsdon add initial .gitignore and add rsync
joshwilsdon authored
1 #!/bin/sh -e
2 #
3 # CDDL HEADER START
4 #
5 # The contents of this file are subject to the terms of the
6 # Common Development and Distribution License (the "License").
7 # You may not use this file except in compliance with the License.
8 #
9 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 # or http://www.opensolaris.org/os/licensing.
11 # See the License for the specific language governing permissions
12 # and limitations under the License.
13 #
14 # When distributing Covered Code, include this CDDL HEADER in each
15 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 # If applicable, add the following below this CDDL HEADER, with the
17 # fields enclosed by brackets "[]" replaced with your own identifying
18 # information: Portions Copyright [yyyy] [name of copyright owner]
19 #
20 # CDDL HEADER END
21 #
22 #
23 # Copyright 2009 Sun Microsystems, Inc. All rights reserved.
24 # Use is subject to license terms.
25 #
26 # Copyright (c) 2010 Joyent Inc.
27 #
28 # install objects in the proto area, since it would
29 # really like to install locally, but that doesn't scale.
30 #
31
32 #pragma ident "@(#)install-sfw 1.3 09/09/18 SMI"
33
34 PREFIX=${DESTDIR}/usr
35 BINDIR=${PREFIX}/bin
36 SHAREDIR=${PREFIX}/share
37 INFODIR=${PREFIX}/share/info
38 LIBDIR=${PREFIX}/lib
39 LOCALEDIR=${LIBDIR}/locale
40 MAN1DIR=${SHAREDIR}/man/man1
41 MAN5DIR=${SHAREDIR}/man/man5
42
43 source ../install.subr
44 cd $VERDIR
45
46 mkdir -m 755 -p ${BINDIR}
47 mkdir -m 755 -p ${LIBDIR}
48 mkdir -m 755 -p ${MAN1DIR}
49 mkdir -m 755 -p ${MAN5DIR}
50
51 # Binaries
52 _install E rsync ${BINDIR}/rsync 555
53
54 # Man Pages
55 # The MAN pages are updated to indicate Interface Stability in an ATTIRBUTES
56 # section, and also indicate where the source code is available
57
58 MANSCRIPT=../sunman-stability
59
60 _install M rsync.1 ${MAN1DIR}/rsync.1 444
61 _install M rsyncd.conf.5 ${MAN5DIR}/rsyncd.conf.5 444
62
63 exit 0
Something went wrong with that request. Please try again.