aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdemos/tunala/autoungunk.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/demos/tunala/autoungunk.sh b/demos/tunala/autoungunk.sh
index 14d10790fd..0c9123b6cf 100755
--- a/demos/tunala/autoungunk.sh
+++ b/demos/tunala/autoungunk.sh
@@ -4,13 +4,13 @@
# mess has been left in the directory thanks to autoconf, automake, and their
# friends.
-if test -f Makefile; then
- make distclean
- rm -f Makefile
-fi
-
if test -f Makefile.plain; then
+ if test -f Makefile; then
+ make distclean
+ fi
mv Makefile.plain Makefile
+else
+ make clean
fi
rm -f aclocal.m4 config.* configure install-sh \