[augeas-devel] [PATCH] distclean-local: Do not clobber build/aux

David Lutterkort dlutter at redhat.com
Tue Jul 1 18:33:33 UTC 2008


1 file changed, 1 insertion(+), 1 deletion(-)
Makefile.am |    2 +-


# HG changeset patch
# User David Lutterkort <dlutter at redhat.com>
# Date 1214937196 25200
# Node ID 6812d889e795a4223488cb6da18f1d4f82ab6637
# Parent  7f6a72ec59917c5106e01b79c8e3d1d0513f7d9d
distclean-local: Do not clobber build/aux

diff -r 7f6a72ec5991 -r 6812d889e795 Makefile.am
--- a/Makefile.am	Tue Jul 01 11:16:28 2008 -0700
+++ b/Makefile.am	Tue Jul 01 11:33:16 2008 -0700
@@ -14,7 +14,7 @@
 pkgconfig_DATA = augeas.pc
 
 distclean-local:
-	-rm -rf $(top_builddir)/build
+	-find $(top_builddir)/build/* -maxdepth 0 -not -name aux | xargs rm -rf
 
 ChangeLog:
 	@if test -d $(top_srcdir)/.hg; then \




More information about the augeas-devel mailing list