boot-strap (291978) | boot-strap (301462) |
---|---|
1: 2# NAME: 3# boot-strap 4# 5# SYNOPSIS: 6# boot-strap ["options"] 7# boot-strap --prefix=/opt --install 8# boot-strap --prefix=$HOME --install-host-target -DWITH_PROG_VERSION --- 97 unchanged lines hidden (view full) --- 106# --with-default-sys-path="syspath" 107# set an explicit default "syspath" which is where bmake 108# will look for sys.mk and friends. 109# 110# AUTHOR: 111# Simon J. Gerraty <sjg@crufty.net> 112 113# RCSid: | 1: 2# NAME: 3# boot-strap 4# 5# SYNOPSIS: 6# boot-strap ["options"] 7# boot-strap --prefix=/opt --install 8# boot-strap --prefix=$HOME --install-host-target -DWITH_PROG_VERSION --- 97 unchanged lines hidden (view full) --- 106# --with-default-sys-path="syspath" 107# set an explicit default "syspath" which is where bmake 108# will look for sys.mk and friends. 109# 110# AUTHOR: 111# Simon J. Gerraty <sjg@crufty.net> 112 113# RCSid: |
114# $Id: boot-strap,v 1.48 2015/10/25 05:20:48 sjg Exp $ | 114# $Id: boot-strap,v 1.49 2016/05/29 00:09:14 sjg Exp $ |
115# 116# @(#) Copyright (c) 2001 Simon J. Gerraty 117# 118# This file is provided in the hope that it will 119# be of use. There is absolutely NO WARRANTY. 120# Permission to copy, redistribute or otherwise 121# use this file is hereby granted provided that 122# the above copyright notice and this notice are --- 323 unchanged lines hidden (view full) --- 446} 447 448op_all() { 449 rm -f make-bootstrap.sh bmake *.o 450 if [ -n "$INSTALL_PREFIX" ]; then 451 op_install 452 else 453 op_test | 115# 116# @(#) Copyright (c) 2001 Simon J. Gerraty 117# 118# This file is provided in the hope that it will 119# be of use. There is absolutely NO WARRANTY. 120# Permission to copy, redistribute or otherwise 121# use this file is hereby granted provided that 122# the above copyright notice and this notice are --- 323 unchanged lines hidden (view full) --- 446} 447 448op_all() { 449 rm -f make-bootstrap.sh bmake *.o 450 if [ -n "$INSTALL_PREFIX" ]; then 451 op_install 452 else 453 op_test |
454 MAKE_VERSION=`sed -n '/^MAKE_VERSION/ { s,.*= *,,;p; }' $srcdir/Makefile` | 454 MAKE_VERSION=`sed -n '/^_MAKE_VERSION/ { s,.*= *,,;p; }' $srcdir/Makefile` |
455 echo You can install by running: 456 echo 457 echo $0 $cmd_args op=install 458 echo 459 echo "Use --install-prefix=/something to install somewhere other than $prefix" 460 echo "Use --install-destdir=/somewhere to set DESTDIR during install" 461 echo "Use --install-host-target to use INSTALL_BIN=$HOST_TARGET/bin" 462 echo "Use -DWITH_PROG_VERSION to install as bmake-$MAKE_VERSION" 463 echo "Use -DWITHOUT_PROG_LINK to suppress bmake -> bmake-$MAKE_VERSION symlink" 464 echo "Use -DWITHOUT_INSTALL_MK to skip installing files to $prefix/share/mk" 465 fi 466} 467 468op_$op 469exit 0 | 455 echo You can install by running: 456 echo 457 echo $0 $cmd_args op=install 458 echo 459 echo "Use --install-prefix=/something to install somewhere other than $prefix" 460 echo "Use --install-destdir=/somewhere to set DESTDIR during install" 461 echo "Use --install-host-target to use INSTALL_BIN=$HOST_TARGET/bin" 462 echo "Use -DWITH_PROG_VERSION to install as bmake-$MAKE_VERSION" 463 echo "Use -DWITHOUT_PROG_LINK to suppress bmake -> bmake-$MAKE_VERSION symlink" 464 echo "Use -DWITHOUT_INSTALL_MK to skip installing files to $prefix/share/mk" 465 fi 466} 467 468op_$op 469exit 0 |