Browse code

Make use of automake CLEANFILES variable instead of clean-local rule

Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
Acked-by: Gert Doering <gert@greenie.muc.de>

David Sommerseth authored on 2010/04/13 22:12:27
Showing 1 changed files
... ...
@@ -38,7 +38,7 @@ MAINTAINERCLEANFILES = \
38 38
 	$(srcdir)/depcomp $(srcdir)/aclocal.m4 \
39 39
 	$(srcdir)/config.guess $(srcdir)/config.sub \
40 40
 	$(srcdir)/openvpn.spec
41
-CLEANFILES = openvpn.8.html
41
+CLEANFILES = openvpn.8.html configure.h
42 42
 
43 43
 EXTRA_DIST = \
44 44
 	easy-rsa \
... ...
@@ -150,9 +150,6 @@ configure.h: Makefile
150 150
 	awk -f $(srcdir)/configure_h.awk config.h > $@
151 151
 	awk -f $(srcdir)/configure_log.awk config.log >> $@
152 152
 
153
-clean-local:
154
-	-rm -f configure.h
155
-
156 153
 dist-hook:
157 154
 	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
158 155