Cdiff install-sfw
*** /export/home/steve/work.nmh/usr/webrev/src/cmd/nmh/install-sfw- Tue Sep 16 06:06:15 2008
--- install-sfw Mon Sep 8 04:22:14 2008
*** 1,5 ****
--- 1,6 ----
+ #!/bin/sh
#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
*** 19,39 ****
# CDDL HEADER END
#
#
- #!/bin/sh
#
#
! # Copyright 2007 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# install nmh's objects in the proto area, since it would really
# like to install locally, but that doesn't scale.
#
! VERS=1.2
PREFIX=${ROOT}/opt/sfw
BINDIR=${PREFIX}/bin
LIBDIR=${PREFIX}/lib
NMHLIB=${LIBDIR}/nmh-lib
ETCDIR=${PREFIX}/etc
--- 20,39 ----
# CDDL HEADER END
#
#
#
#
! # Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# install nmh's objects in the proto area, since it would really
# like to install locally, but that doesn't scale.
#
! VERS=1.3
PREFIX=${ROOT}/opt/sfw
BINDIR=${PREFIX}/bin
LIBDIR=${PREFIX}/lib
NMHLIB=${LIBDIR}/nmh-lib
ETCDIR=${PREFIX}/etc
*** 52,66 ****
# binaries
cd uip;
! for i in ali folder mhmail msh repl sortm anno mhn \
! rmf viamail burst forw mhparam packf rmm whatnow \
! comp inc mhpath pick scan whom dist mark mhshow \
! send flist mhbuild mhstore prompter \
! mhlist msgchk refile show
do
rm -f ${BINDIR}/${i}
cp ${i} ${BINDIR}/${i}
strip ${BINDIR}/${i}
chmod 555 ${BINDIR}/${i}
--- 52,66 ----
# binaries
cd uip;
! for i in ali flist inc mhmail mhstore pick rmf show \
! anno install-mh mhn msgchk rmm sortm \
! burst folder mark mhparam msh prompter scan whatnow \
! comp mhbuild mhpath refile send whom \
! dist forw mhlist mhshow packf repl
do
rm -f ${BINDIR}/${i}
cp ${i} ${BINDIR}/${i}
strip ${BINDIR}/${i}
chmod 555 ${BINDIR}/${i}
*** 77,88 ****
ln ${BINDIR}/flist ${BINDIR}/flists
ln ${BINDIR}/folder ${BINDIR}/folders
# library
! for i in ap conflict dp fmtdump install-mh mhl mhtest \
! post rcvdist rcvpack rcvstore rcvtty slocal spost
do
rm -f ${NMHLIB}/${i}
cp ${i} ${NMHLIB}/${i}
strip ${NMHLIB}/${i}
chmod 555 ${NMHLIB}/${i}
--- 77,88 ----
ln ${BINDIR}/flist ${BINDIR}/flists
ln ${BINDIR}/folder ${BINDIR}/folders
# library
! for i in ap conflict dp fmtdump mhl mhtest \
! post rcvdist rcvpack rcvstore rcvtty slocal spost viamail
do
rm -f ${NMHLIB}/${i}
cp ${i} ${NMHLIB}/${i}
strip ${NMHLIB}/${i}
chmod 555 ${NMHLIB}/${i}
*** 130,140 ****
chmod 444 ${MAN5DIR}/${i}.5
done
# man8 files
! for i in ap conflict dp fmtdump mh-mts post
do
rm -f ${MAN8DIR}/${i}.8
cp ${i}.8 ${MAN8DIR}/${i}.8
chmod 444 ${MAN8DIR}/${i}.8
--- 130,140 ----
chmod 444 ${MAN5DIR}/${i}.5
done
# man8 files
! for i in ap conflict dp fmtdump post
do
rm -f ${MAN8DIR}/${i}.8
cp ${i}.8 ${MAN8DIR}/${i}.8
chmod 444 ${MAN8DIR}/${i}.8