autoconf-patches
[Top][All Lists]
Advanced

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

tests/Makefile.am patch for 'configure; make distclean' (fyi)


From: Paul Eggert
Subject: tests/Makefile.am patch for 'configure; make distclean' (fyi)
Date: Fri, 5 Oct 2001 12:10:08 -0700 (PDT)

In an already-clean distribution, 'make distclean' fails because
tests/Makefile invokes ./testsuite, which doesn't exist.
This is such a small thing that I hope it's OK that I just went
ahead and installed the following patch.

2001-10-05  Paul Eggert  <address@hidden>

        * tests/Makefile.am (clean-local): Don't invoke $(TESTSUITE) if it
        doesn't exist.  Remove *.tmp, as a .tmp file is created during the
        build of $(TESTSUITE).

Index: tests/Makefile.am
===================================================================
RCS file: /cvsroot/autoconf/autoconf/tests/Makefile.am,v
retrieving revision 1.72
diff -u -r1.72 Makefile.am
--- tests/Makefile.am   2001/09/27 13:28:15     1.72
+++ tests/Makefile.am   2001/10/05 19:04:03
@@ -67,7 +67,8 @@
        cd $(top_builddir) && ./config.status tests/$@
 
 clean-local:
-       $(SHELL) $(TESTSUITE) --clean
+       test ! -f $(TESTSUITE) || $(SHELL) $(TESTSUITE) --clean
+       rm -f *.tmp
        rm -rf autom4te.cache
 
 check-local: atconfig atlocal $(TESTSUITE)



reply via email to

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