Skip to contentSkip to conversation

remove .i files on clean too

PATCH New Ben Collins 1 participant 1 message Feb 9, 2002

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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

Signature · 19 lines
 .----------=======-=-======-=========-----------=====------------=-=-----.
/       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)