2002-02-09 01:49:11

by Ben Collins

[permalink] [raw]
Subject: [patch] remove .i files on clean too

I find it useful to build with -save-temps a lot of times, when tracking
a bug. This little change helps cleanup the .i files that get left
around. Am I the only one that does this? :) Probably the lowest
priority patch right now, but what the hell.


Ben

--
.----------=======-=-======-=========-----------=====------------=-=-----.
/ Ben Collins -- Debian GNU/Linux -- WatchGuard.com \
` [email protected] -- [email protected] '
`---=========------=======-------------=-=-----=-===-======-------=--=---'



diff -u -r1.485.2.12 Makefile
--- Makefile 4 Feb 2002 22:37:38 -0000 1.485.2.12
+++ Makefile 9 Feb 2002 01:49:25 -0000
@@ -415,7 +415,7 @@
endif

clean: archclean
- find . \( -name '*.[oas]' -o -name core -o -name '.*.flags' \) -type f -print \
+ find . \( -name '*.[oasi]' -o -name core -o -name '.*.flags' \) -type f -print \
| grep -v lxdialog/ | xargs rm -f
rm -f $(CLEAN_FILES)
rm -rf $(CLEAN_DIRS)