libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

'make clean' fails if missing testsuite


From: Per Bothner
Subject: 'make clean' fails if missing testsuite
Date: Thu, 10 Mar 2005 09:35:15 -0800
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20041020

'make clean' fails if there is no tests/testsuite directory.
(This is cvs libtool.)
I have an attached a patch for Makefile, but unfortunately
the 'clean-local' rule comes from automake (1.9.3, in my case).
--
        --Per Bothner
address@hidden   http://per.bothner.com/
--- Makefile~   2005-03-10 08:17:56.862493434 -0800
+++ Makefile    2005-03-10 08:31:58.286231473 -0800
@@ -680,7 +680,7 @@
 
 # We need to remove any file droppings left behind by testsuite
 clean-local: clean-local-legacy
-       $(SHELL) $(srcdir)/$(TESTSUITE) --clean
+       if test -f $(TESTSUITE); then $(SHELL) $(srcdir)/$(TESTSUITE) --clean; 
fi
 
 demo-conf.test: $(top_builddir)/libtool
 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]