xfs
[Top] [All Lists]

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

To: xfs@xxxxxxxxxxx
Subject: [PATCH] xfsprogs: clean up .dep files on make clean
From: Dave Chinner <david@xxxxxxxxxxxxx>
Date: Tue, 26 Jan 2010 14:25:10 +1100
And make git ignore them, too.

Signed-off-by: Dave Chinner <david@xxxxxxxxxxxxx>
---
 .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

<Prev in Thread] Current Thread [Next in Thread>