* automake.in (make_paragraphs): Do not define %TOPDIR%, now that
authorAlexandre Duret-Lutz <adl@gnu.org>
Thu, 30 Jun 2005 22:23:12 +0000 (22:23 +0000)
committerAlexandre Duret-Lutz <adl@gnu.org>
Thu, 30 Jun 2005 22:23:12 +0000 (22:23 +0000)
lib/am/header-vars.am no longer uses it.
* lib/am/libtool.am (distclean-am, distclean-libtool): Define
if TOPDIR_P is true, not TOPDIR.
Suggested by Stepan Kasal.

ChangeLog
automake.in
lib/am/libtool.am

index 852cbd5..e11d48e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2005-06-30  Alexandre Duret-Lutz  <adl@gnu.org>
 
+       * automake.in (make_paragraphs): Do not define %TOPDIR%, now that
+       lib/am/header-vars.am no longer uses it.
+       * lib/am/libtool.am (distclean-am, distclean-libtool): Define
+       if TOPDIR_P is true, not TOPDIR.
+       Suggested by Stepan Kasal.
+
        * automake.in (read_am_file): Correctly diagnose comments following
        trailing backslash.
        * tests/commen10.test: New file.
index 3ea78e5..700e7e8 100755 (executable)
@@ -6369,7 +6369,6 @@ sub make_paragraphs ($%)
                 'CK-NEWS'      => !! option 'check-news',
 
                 'SUBDIRS'      => !! var ('SUBDIRS'),
-                'TOPDIR'       => backname ($relative_dir),
                 'TOPDIR_P'     => $relative_dir eq '.',
 
                 'BUILD'    => ($seen_canonical >= AC_CANONICAL_BUILD),
index df97a55..1c6e0a7 100644 (file)
@@ -1,5 +1,5 @@
 ## automake - create Makefile.in from Makefile.am
-## Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2001, 2003
+## Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2001, 2003, 2005
 ## Free Software Foundation, Inc.
 
 ## This program is free software; you can redistribute it and/or modify
@@ -26,6 +26,6 @@ clean-am: clean-libtool
 clean-libtool:
 ?LTRMS?%LTRMS%
 
-?TOPDIR?distclean-am: distclean-libtool
-?TOPDIR?distclean-libtool:
-?TOPDIR?       -rm -f libtool
+?TOPDIR_P?distclean-am: distclean-libtool
+?TOPDIR_P?distclean-libtool:
+?TOPDIR_P?     -rm -f libtool