# HG changeset patch
# User Dan Smith <danms(a)us.ibm.com>
# Date 1197477639 28800
# Node ID 85e3ec9836b74c4d3424fc4e67d7c6a22c00863d
# Parent 2854fb11364df047bb6d275e72034145b2260c71
Make 'clean' remove temporary files and patch rejects
Signed-off-by: Dan Smith <danms(a)us.ibm.com>
diff -r 2854fb11364d -r 85e3ec9836b7 Makefile.am
--- a/Makefile.am Tue Dec 11 14:51:07 2007 -0800
+++ b/Makefile.am Wed Dec 12 08:40:39 2007 -0800
@@ -104,3 +104,8 @@ preuninstall:
rpm: clean
@(unset CDPATH ; $(MAKE) dist && rpmbuild -ta $(distdir).tar.gz)
+
+clean-local:
+ rm -f $(find . -name "*.orig")
+ rm -f $(find . -name "*.rej")
+ rm -f $(find . -name "*~")
\ No newline at end of file