aboutsummaryrefslogtreecommitdiff
path: root/sim/.Sanitize
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1997-05-06 23:24:03 +0000
committerAndrew Cagney <cagney@redhat.com>1997-05-06 23:24:03 +0000
commit19a2b3005ccf70c29981c421b63d3195f886b03d (patch)
treeb6285115b26e32348a4684b3f98cccecce44259e /sim/.Sanitize
parentb02a4cab06ef64401de070547eb7a0117f5308a1 (diff)
downloadgdb-19a2b3005ccf70c29981c421b63d3195f886b03d.zip
gdb-19a2b3005ccf70c29981c421b63d3195f886b03d.tar.gz
gdb-19a2b3005ccf70c29981c421b63d3195f886b03d.tar.bz2
Only zap the igen directory once.
Diffstat (limited to 'sim/.Sanitize')
-rw-r--r--sim/.Sanitize14
1 files changed, 10 insertions, 4 deletions
diff --git a/sim/.Sanitize b/sim/.Sanitize
index e00ce10..27df4f4 100644
--- a/sim/.Sanitize
+++ b/sim/.Sanitize
@@ -15,16 +15,20 @@
Do-first:
-d30v_files="d30v igen testsuite"
+igen_files="igen"
+
+d30v_files="d30v testsuite"
if ( echo $* | grep keep\-d30v > /dev/null ) ; then
- keep_these_too="${d30v_files} ${keep_these_too}"
+ keep_these_too="${d30v_files} ${igen_files} ${keep_these_too}"
+ igen_files=
else
lose_these_too="${d30v_files} ${lose_these_too}"
fi
-tic80_files="tic80 igen"
+tic80_files="tic80"
if ( echo $* | grep keep\-tic80 > /dev/null ) ; then
- keep_these_too="${tic80_files} ${keep_these_too}"
+ keep_these_too="${tic80_files} ${igen_files} ${keep_these_too}"
+ igen_files=
else
lose_these_too="${tic80_files} ${lose_these_too}"
fi
@@ -36,6 +40,8 @@ else
lose_these_too="${v850_files} ${lose_these_too}"
fi
+lose_these_too="${igen_files} ${lose_these_too}"
+
# All files listed between the "Things-to-keep:" line and the
# "Files-to-sed:" line will be kept. All other files will be removed.
# Directories listed in this section will have their own Sanitize