[PATCH] xfsprogs: clean up .dep files on make clean

Dave Chinner david at fromorbit.com
Mon Jan 25 21:25:10 CST 2010


And make git ignore them, too.

Signed-off-by: Dave Chinner <david at fromorbit.com>
---
 .gitignore         |    1 +
 include/buildrules |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/.gitignore b/.gitignore
index b06e074..aa6cd35 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,6 @@
 # object files
 *.o
+.dep
 
 # build system
 .census
diff --git a/include/buildrules b/include/buildrules
index d1a3a6f..1695e23 100644
--- a/include/buildrules
+++ b/include/buildrules
@@ -7,7 +7,7 @@ _BUILDRULES_INCLUDED_ = 1
 include $(TOPDIR)/include/builddefs
 
 clean clobber : $(addsuffix -clean,$(SUBDIRS))
-	@rm -f $(DIRT)
+	@rm -f $(DIRT) .dep
 	@rm -fr $(DIRDIRT)
 %-clean:
 	@echo "Cleaning $*"
-- 
1.6.5




More information about the xfs mailing list