[Sheepdog] [PATCH] remove annoying *.orig and *.rej for 'make clean'

Liu Yuan namei.unix at gmail.com
Tue May 15 16:06:45 CEST 2012


From: Liu Yuan <tailai.ly at taobao.com>


Signed-off-by: Liu Yuan <tailai.ly at taobao.com>
---
 Makefile.am        |    2 +-
 collie/Makefile.am |    2 +-
 sheep/Makefile.am  |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 1dd57d9..25a50f3 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -29,7 +29,7 @@ dist-clean-local:
 	rm -f autoconf automake autoheader
 
 clean-generic:
-	rm -rf $(SPEC) $(TARFILE) cscope*
+	rm -rf $(SPEC) $(TARFILE) cscope* *.orig *.rej
 
 cscope:
 	@echo create cscope.out
diff --git a/collie/Makefile.am b/collie/Makefile.am
index d98b709..695e2cd 100644
--- a/collie/Makefile.am
+++ b/collie/Makefile.am
@@ -44,7 +44,7 @@ all-local:
 	@echo Built collie
 
 clean-local:
-	rm -f collie *.o gmon.out *.da *.bb *.bbg
+	rm -f collie *.o gmon.out *.da *.bb *.bbg *.orig *.rej
 
 # support for GNU Flymake
 check-syntax:
diff --git a/sheep/Makefile.am b/sheep/Makefile.am
index 7448ae1..4ddf48d 100644
--- a/sheep/Makefile.am
+++ b/sheep/Makefile.am
@@ -62,7 +62,7 @@ all-local:
 	@echo Built sheep
 
 clean-local:
-	rm -f sheep *.o gmon.out *.da *.bb *.bbg
+	rm -f sheep *.o gmon.out *.da *.bb *.bbg *.orig *.rej
 
 # support for GNU Flymake
 check-syntax:
-- 
1.7.8.2




More information about the sheepdog mailing list