[Ocfs2-tools-devel] [PATCH] tunefs.ocfs2: add ocfs2ne-clean in Makefile

Coly Li coly.li at suse.de
Mon Nov 2 03:17:09 PST 2009


This patch adds a clean target to remove tunefs.ocfs2/ocfs2ne.

Signed-off-by: Coly Li <coly.li at suse.de>
---
 tunefs.ocfs2/Makefile |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/tunefs.ocfs2/Makefile b/tunefs.ocfs2/Makefile
index 7ed8341..3b6cf63 100644
--- a/tunefs.ocfs2/Makefile
+++ b/tunefs.ocfs2/Makefile
@@ -104,8 +104,11 @@ ocfs2ne: $(OCFS2NE_OBJS) libocfs2ne.a $(LIBOCFS2_DEPS) $(LIBO2DLM_DEPS) $(LIBO2C
 tunefs.ocfs2: ocfs2ne
 	ln -f ocfs2ne tunefs.ocfs2

-CLEAN_RULES = clean-err
+CLEAN_RULES += clean-err
+CLEAN_RULES += ocfs2ne-clean

+ocfs2ne-clean:
+	rm -f ocfs2ne
 clean-err:
 	rm -f o2ne_err.c o2ne_err.h

-- 
Coly Li
SuSE Labs



More information about the Ocfs2-tools-devel mailing list