diff options
author | Andreas Boll <andreas.boll.dev@gmail.com> | 2012-06-19 19:49:25 +0200 |
---|---|---|
committer | Kenneth Graunke <kenneth@whitecape.org> | 2012-06-20 01:51:38 -0700 |
commit | 3becf984248b309639737b2f655cec14c47e2238 (patch) | |
tree | 69ed784effd89203c7b14027b0d2c656c5f84192 /bin | |
parent | 0f269c5e7b593eb29d5c1058dcd53fc6476871a9 (diff) |
mesa: remove obsolete confdiff.sh
this script is obsolete since
0cc216676c96efacb0e1eb82457e6a83920ae704
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/confdiff.sh | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/bin/confdiff.sh b/bin/confdiff.sh deleted file mode 100755 index 568fcd6d56..0000000000 --- a/bin/confdiff.sh +++ /dev/null @@ -1,48 +0,0 @@ -#!/bin/bash -e - -usage() -{ - echo "Usage: $0 <target1> <target2>" - echo "Highlight differences between Mesa configs" - echo "Example:" - echo " $0 linux linux-x86" -} - -die() -{ - echo "$@" >&2 - return 1 -} - -case "$1" in --h|--help) usage; exit 0;; -esac - -[ $# -lt 2 ] && die 2 targets needed. See $0 --help -target1=$1 -target2=$2 - -topdir=$(cd "`dirname $0`"/..; pwd) -cd "$topdir" - -[ -f "./configs/$target1" ] || die Missing configs/$target1 -[ -f "./configs/$target2" ] || die Missing configs/$target2 - -trap 'rm -f "$t1" "$t2"' 0 - -t1=$(mktemp) -t2=$(mktemp) - -make -f- -n -p <<EOF | sed '/^# Not a target/,/^$/d' > $t1 -TOP = . -include \$(TOP)/configs/$target1 -default: -EOF - -make -f- -n -p <<EOF | sed '/^# Not a target/,/^$/d' > $t2 -TOP = . -include \$(TOP)/configs/$target2 -default: -EOF - -diff -pu -I'^#' $t1 $t2 |