]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* tests/Makefile (clean-local): Only run the testsuite cleanup
authorPer Bothner <per@bothner.com>
Fri, 11 Mar 2005 11:39:28 +0000 (11:39 +0000)
committerGary V. Vaughan <gary@gnu.org>
Fri, 11 Mar 2005 11:39:28 +0000 (11:39 +0000)
if the testsuite has been generated.

ChangeLog
libltdl/Makefile.am
tests/Makefile.am

index 54117d0bfa1f34dedb60b51447745bff3688cf16..9e08d8d20b5203a0fad4a7db80f7562263d7c994 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-03-11  Per Bothner  <per@bothner.com>  (tiny change)
+
+       * tests/Makefile (clean-local): Only run the testsuite cleanup
+       if the testsuite has been generated.
+
 2005-03-10  Gary V. Vaughan  <gary@gnu.org>
 
        * libltdl/Makefile.am (install-data-local): Don't force v7 tar
index c321be21fd36e7bd6bef497a75d233902c4d92d1..6b508b64cbc559c98fff00587c1acd5bcafd760e 100644 (file)
@@ -71,7 +71,6 @@ ltdldatafiles         = COPYING.LIB README \
                          Makefile.am Makefile.in \
                          configure.ac configure \
                          $(libltdl_la_SOURCES) \
-                         $(libltdl_la_SOURCES) \
                          lt__dirent.c libltdl/lt__dirent.h \
                          lt__strl.c libltdl/lt__strl.h \
                          argz_.h argz.c
index f7bde8e40be5649176567bc7ca6505e662723733..e8978ddbdd2d6cb893ba0df80f87d863cc0add82 100644 (file)
@@ -60,7 +60,8 @@ installcheck-local:
 
 # We need to remove any file droppings left behind by testsuite
 clean-local: clean-local-legacy
-       $(SHELL) $(srcdir)/$(TESTSUITE) --clean
+       test -f $(srcdir)/$(TESTSUITE) && \
+         $(SHELL) $(srcdir)/$(TESTSUITE) --clean
 
 DISTCLEANFILES = atconfig