automake-patches
[Top][All Lists]
Advanced

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

00automake-distclean-not-cleaning-links-test.diff


From: derek
Subject: 00automake-distclean-not-cleaning-links-test.diff
Date: Thu, 03 Apr 2003 17:03:34 +0000

I haven't had time to write a fix today, but here's a test that proves that
Automake fails to remove links generated by AC_CONFIG_LINKS as part of
CONFIG_CLEAN_FILES like it does for other AC_OUTPUTted files.

My email address has changed, but my paperwork is complete.  I think I
completed the paperwork while using <address@hidden> or maybe
<address@hidden>.

Derek Price

Index: ChangeLog
2003-04-03  Derek Price

        * tests/Makefile.am (XFAIL_TESTS): Add distclean.test.
        (TESTS): Ditto.
        
Index: tests/Makefile.am
===================================================================
RCS file: /cvsroot/automake/automake/tests/Makefile.am,v
retrieving revision 1.475
diff -u -r1.475 Makefile.am
--- tests/Makefile.am   26 Feb 2003 20:53:48 -0000      1.475
+++ tests/Makefile.am   3 Apr 2003 16:46:39 -0000
@@ -1,6 +1,6 @@
 ## Process this file with automake to create Makefile.in
 
-XFAIL_TESTS = subdir5.test auxdir2.test cond17.test
+XFAIL_TESTS = subdir5.test auxdir2.test cond17.test distclean.test
 
 TESTS =        \
 acinclude.test \
@@ -150,6 +150,7 @@
 dirforbid.test \
 dirlist.test \
 discover.test \
+distclean.test \
 distcom.test \
 distcom2.test \
 distcom3.test \
Index: tests/distclean.test
===================================================================
RCS file: tests/distclean.test
diff -N tests/distclean.test
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ tests/distclean.test        3 Apr 2003 16:46:39 -0000
@@ -0,0 +1,32 @@
+#! /bin/sh
+# Copyright (C) 1998, 2001, 2002  Free Software Foundation, Inc.
+#
+# This file is part of GNU Automake.
+#
+# GNU Automake is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+#
+# GNU Automake is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with autoconf; see the file COPYING.  If not, write to
+# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+# Boston, MA 02111-1307, USA.
+
+# Test to make sure a clean target depends on previous one.
+
+. ./defs || exit 1
+
+: > Makefile.am
+
+echo "AC_CONFIG_LINKS(src:dest)" >> configure.in
+
+$ACLOCAL || exit 1
+$AUTOMAKE || exit 1
+
+grep 'CONFIG_CLEAN_FILES = dest' Makefile.in




reply via email to

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