From 3ee62caf112c1e8c9a79079b0cb0648446915caa Mon Sep 17 00:00:00 2001 From: David Sommerseth Date: Tue, 13 Apr 2010 15:12:27 +0200 Subject: Make use of automake CLEANFILES variable instead of clean-local rule Signed-off-by: David Sommerseth Acked-by: Gert Doering --- Makefile.am | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Makefile.am b/Makefile.am index fdc9def..430d3ab 100644 --- a/Makefile.am +++ b/Makefile.am @@ -38,7 +38,7 @@ MAINTAINERCLEANFILES = \ $(srcdir)/depcomp $(srcdir)/aclocal.m4 \ $(srcdir)/config.guess $(srcdir)/config.sub \ $(srcdir)/openvpn.spec -CLEANFILES = openvpn.8.html +CLEANFILES = openvpn.8.html configure.h EXTRA_DIST = \ easy-rsa \ @@ -150,9 +150,6 @@ configure.h: Makefile awk -f $(srcdir)/configure_h.awk config.h > $@ awk -f $(srcdir)/configure_log.awk config.log >> $@ -clean-local: - -rm -f configure.h - dist-hook: cd $(distdir) && for i in $(EXTRA_DIST) $(SUBDIRS) ; do find $$i -name .svn -type d -prune -exec rm -rf '{}' ';' ; rm -f `find $$i -type f | grep -E '(^|\/)\.?\#|\~$$|\.s?o$$'` ; done -- cgit v1.2.3