From: David Sommerseth Date: Tue, 13 Apr 2010 13:12:27 +0000 (+0200) Subject: Make use of automake CLEANFILES variable instead of clean-local rule X-Git-Tag: v2.2-beta1~6^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef12b6f57b32cc1e79c87741666d1850d6f25bd9;p=thirdparty%2Fopenvpn.git Make use of automake CLEANFILES variable instead of clean-local rule Signed-off-by: David Sommerseth Acked-by: Gert Doering --- diff --git a/Makefile.am b/Makefile.am index f509a4b1a..76573d117 100644 --- a/Makefile.am +++ b/Makefile.am @@ -38,7 +38,7 @@ MAINTAINERCLEANFILES = \ $(srcdir)/depcomp $(srcdir)/aclocal.m4 \ $(srcdir)/config.guess $(srcdir)/config.sub \ $(srcdir)/config-win32.h $(srcdir)/openvpn.spec -CLEANFILES = openvpn.8.html +CLEANFILES = openvpn.8.html configure.h EXTRA_DIST = \ easy-rsa \ @@ -149,9 +149,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