diff options
author | Satoshi Asami <asami@FreeBSD.org> | 1999-06-22 07:45:34 +0000 |
---|---|---|
committer | Satoshi Asami <asami@FreeBSD.org> | 1999-06-22 07:45:34 +0000 |
commit | 8ec91a7640ec92bafeab7f588ce5c24164ab5bd9 (patch) | |
tree | 6a0adee776c1330a876d6e5deb55c6d8c67f3a7f /Tools | |
parent | 3dc9d1aad20162de5c31028a8ed927f646874bb9 (diff) | |
download | ports-8ec91a7640ec92bafeab7f588ce5c24164ab5bd9.tar.gz ports-8ec91a7640ec92bafeab7f588ce5c24164ab5bd9.zip |
The makeindex and makeduds scripts now take a "branch" argument to work
on the specified branch.
Notes
Notes:
svn path=/head/; revision=19627
Diffstat (limited to 'Tools')
-rwxr-xr-x | Tools/portbuild/scripts/makeduds | 42 | ||||
-rwxr-xr-x | Tools/portbuild/scripts/makeindex | 42 |
2 files changed, 78 insertions, 6 deletions
diff --git a/Tools/portbuild/scripts/makeduds b/Tools/portbuild/scripts/makeduds index 8c8baa0152da..351a00fad81a 100755 --- a/Tools/portbuild/scripts/makeduds +++ b/Tools/portbuild/scripts/makeduds @@ -1,7 +1,43 @@ #!/bin/sh -export PORTOBJFORMAT=aout -export OSVERSION=228001 +# usage: $0 branch +usage () { + echo "usage: makeduds branch" + exit 1 +} +if [ $# != 1 ]; then + usage +fi +case "x$1" in + x2.2) + branch=2.2 + export PORTOBJFORMAT=aout + export OSREL=2.2.8 + export OSVERSION=228001 + ;; + x3) + branch=3 + export PORTOBJFORMAT=elf + # export OSREL=3.1 + # export OSVERSION=310002 + ;; + x4) + branch=4 + export PORTOBJFORMAT=elf + export OSREL=4.0 + export OSVERSION=400002 + ;; + *) + usage + ;; +esac + +export PORTSDIR=$(pwd) + unset DISPLAY +export BATCH=t export HAVE_MOTIF=t +export PACKAGE_BUILDING=t export PARALLEL_PACKAGE_BUILD=t -make ignorelist ECHO_MSG=true > ../../2.2/duds +export NO_RESTRICTED=t +#export FOR_CDROM=t +make ignorelist ECHO_MSG=true > ../../${branch}/duds diff --git a/Tools/portbuild/scripts/makeindex b/Tools/portbuild/scripts/makeindex index 190275216aed..859e5e0ecdef 100755 --- a/Tools/portbuild/scripts/makeindex +++ b/Tools/portbuild/scripts/makeindex @@ -1,7 +1,43 @@ #!/bin/sh -export OSREL=2.2.8 -export OSVERSION=228001 -export PORTOBJFORMAT=aout +# usage: $0 branch +usage () { + echo "usage: makeindex branch" + exit 1 +} +if [ $# != 1 ]; then + usage +fi +case "x$1" in + x2.2) + branch=2.2 + export PORTOBJFORMAT=aout + export OSREL=2.2.8 + export OSVERSION=228001 + ;; + x3) + branch=3 + export PORTOBJFORMAT=elf + # export OSREL=3.1 + # export OSVERSION=310002 + ;; + x4) + branch=4 + export PORTOBJFORMAT=elf + export OSREL=4.0 + export OSVERSION=400002 + ;; + *) + usage + ;; +esac + export PORTSDIR=$(pwd) + +unset DISPLAY +export BATCH=t +export HAVE_MOTIF=t +export PACKAGE_BUILDING=t export PARALLEL_PACKAGE_BUILD=t +export NO_RESTRICTED=t +#export FOR_CDROM=t make index |