Automake bug fixed

Ralf Wildenhues <[email protected]>
Newsgroups gmane.comp.gnu.m4.patches
Organization Department of Numerical Simulation, University of Bonn
Message-ID <[email protected]>
Hello M4 patches,

As per <http://thread.gmane.org/gmane.comp.sysutils.automake.bugs/3989>,
this bug has been fixed in Automake's CVS.  So once you may assume that,
you can simplify Makefile.am as in the patch below.  Of course it
doesn't hurt to keep clean-local-src for a while, either.

Cheers,
Ralf

	* Makefile.am (clean-local-src): Not needed any more with
	newest Automake.
	(clean-local): Adjust.

Index: Makefile.am
===================================================================
RCS file: /cvsroot/m4/m4/Makefile.am,v
retrieving revision 1.57
diff -u -r1.57 Makefile.am
--- Makefile.am	7 Aug 2007 03:15:24 -0000	1.57
+++ Makefile.am	16 Aug 2007 23:50:27 -0000
@@ -83,13 +83,6 @@
 src_m4_LDADD	= m4/libm4.la
 src_m4_DEPENDENCIES = $(PREOPEN_DEPENDENCIES) m4/libm4.la
 
-## Since we do not build a libtool library in src, Automake fails to infer
-## that there may be a libs directory there.  FIXME - revisit this if
-## automake 1.10 fixes the bug.
-clean-local-src:
-	-rm -rf src/.libs src/_libs
-
-
 ##                                                                      ##
 ##                 --- PASTED MANUALLY FROM GNULIB ---                  ##
 ##     To avoid adding unnecessary objects to libm4.la these gnulib     ##
@@ -432,7 +425,7 @@
 DISTCLEANFILES += tests/atconfig tests/atlocal tests/m4
 MAINTAINERCLEANFILES += tests/generated.at '$(TESTSUITE)'
 
-clean-local: clean-local-src clean-local-tests
+clean-local: clean-local-tests
 
 ##                                                                      ##
 ##                   --- RULES FOR THE MAINTAINER ---                   ##
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.