Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/distrib/sets Adapt support for XFree86 3.3.6/4.x lists to ma...
details: https://anonhg.NetBSD.org/src/rev/428b4398fe49
branches: trunk
changeset: 525271:428b4398fe49
user: tron <tron%NetBSD.org@localhost>
date: Tue Apr 09 06:07:17 2002 +0000
description:
Adapt support for XFree86 3.3.6/4.x lists to match behaviour of
"makeflist".
diffstat:
distrib/sets/makeobsolete | 34 +++++++++++++++++++---------------
1 files changed, 19 insertions(+), 15 deletions(-)
diffs (57 lines):
diff -r f57b2817a256 -r 428b4398fe49 distrib/sets/makeobsolete
--- a/distrib/sets/makeobsolete Tue Apr 09 05:57:20 2002 +0000
+++ b/distrib/sets/makeobsolete Tue Apr 09 06:07:17 2002 +0000
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: makeobsolete,v 1.9 2002/04/08 15:39:32 tron Exp $
+# $NetBSD: makeobsolete,v 1.10 2002/04/09 06:07:17 tron Exp $
#
# Print out the obsolete files for a set
# Usage: makeobsolete [-b] [-x] [-a arch] [-m machine] [-s setsdir] \
@@ -13,20 +13,7 @@
arch=${MACHINE_ARCH:-`printf 'xxx:\n\techo ${MACHINE_ARCH}' | $MAKE -s -f-`}
setd=`pwd`
nlists="base comp etc games man misc text"
-xlists=
-for xlist in xbase xcomp xcontrib xfont xserver xmisc
-do
- if [ -z "$xlists" ]
- then
- xlists=$xlist
- else
- xlists="$xlists $xlist"
- fi
- if [ -d "$setd/lists/$xlist${x11_version}" ]
- then
- xlists="$xlists $xlist${x11_version}"
- fi
-done
+xlists="xbase xcomp xcontrib xfont xserver xmisc"
lists=$nlists
target=./dist
@@ -81,6 +68,23 @@
exit 1
fi
+# Automatically add XFree86 version specific sets
+for list in $lists
+do
+ if [ -z "$_lists" ]
+ then
+ _lists=$list
+ else
+ _lists="$_lists $list"
+ fi
+ if [ -d "$setd/lists/$list${x11_version}" ]
+ then
+ _lists="$_lists $list${x11_version}"
+ fi
+done
+lists=$_lists
+unset _lists
+
for setname in $lists; do
file=$target/${setname}_obsolete
(
Home |
Main Index |
Thread Index |
Old Index