automake
[Top][All Lists]
Advanced

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

s/@/%/g


From: Akim Demaille
Subject: s/@/%/g
Date: 26 Feb 2001 21:48:17 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley)

Well, this one was tricky...  I ran the test suite, caught a few
mistakes, and it's running again.  Given the time it takes to run it,
I think I will soon leave, and check the results tonight.

_if_ the test suite passes everything, is it OK to install?

Beware, it's frightening...

Index: ChangeLog
from  Akim Demaille  <address@hidden>
        Distinguish automake substitutions from config.status
        substitutions.

        * automake.in (&add_depend2): Transform AMDEP.
        (&handle_clean): Transform MCFILES and MFILES.
        (&file_contents): Transform MAINTAINER_MODE.
        (&transform): Use `%', not `@'.
        Adjust all the *.am files.
        * clean.am: Use ?MFILES? instead of ad hoc MAINTAINERCLEAN.
        * depend2.am: Display the double dependency on both ?AMDEP? and
        @address@hidden

Index: automake.in
===================================================================
RCS file: /cvs/automake/automake/automake.in,v
retrieving revision 1.937
diff -u -u -r1.937 automake.in
--- automake.in 2001/02/26 19:16:16 1.937
+++ automake.in 2001/02/26 20:34:51
@@ -2721,7 +2721,8 @@
     my $xform = &transform ('PFX'  => $pfx,
                            'FPFX' => $fpfx,
                            'OBJEXT'  => $seen_objext,
-                           'LIBTOOL' => $seen_libtool);
+                           'LIBTOOL' => $seen_libtool,
+                           'AMDEP'   => $use_dependencies);
 
     # This function can be called even when we don't want dependency
     # tracking.  This happens when we need an explicit rule for some
@@ -2747,11 +2748,6 @@
                              . "\n");
        }
     }
-    else
-    {
-        # If dependency tracking is disabled, we just elide the code.
-        $xform .= 's/address@hidden@.*$//;';
-    }
 
     # Now include code for each specially handled object with this
     # language.
@@ -3644,23 +3640,18 @@
        if &variable_defined ('BUILT_SOURCES');
     push (@maintainer_clean_files, '\$(MAINTAINERCLEANFILES)')
        if &variable_defined ('MAINTAINERCLEANFILES');
-    if (! @maintainer_clean_files)
-    {
-       $xform .= 's/^MAINTAINERCLEAN.*$//;';
-    }
-    else
-    {
-       $xform .= ('s/^MAINTAINERCLEAN//;'
-                  # Join with no space to avoid spurious `test -z'
-                  # success at runtime.
-                  . 's,address@hidden@,' . join ('', @maintainer_clean_files)
-                  . ',;'
-                  # A space is required in the join here.
-                  . 's,address@hidden@,' . join (' ', @maintainer_clean_files)
-                  . ',;');
-    }
 
-    $output_rules .= &file_contents ('clean', $xform);
+    $output_rules .=
+      &file_contents ('clean',
+                     $xform
+                     . &transform ('MCFILES'
+                                   # Join with no space to avoid
+                                   # spurious `test -z' success at
+                                   # runtime.
+                                   => join ('', @maintainer_clean_files),
+                                   'MFILES'
+                                   # A space is required in the join here.
+                                   => join (' ', @maintainer_clean_files)));
 
     # We special-case config.status here.  If we do it as part of the
     # normal clean processing for this directory, then it might be
@@ -6577,7 +6568,8 @@
     &prog_error ("file_contents: $command")
         if $command ne '' && substr ($command, -1) ne ';';
     $command .=
-      &transform ('CYGNUS'   => $cygnus_mode,
+      &transform ('CYGNUS'          => $cygnus_mode,
+                 'MAINTAINER_MODE' => $seen_maint_mode,
 
                  'SHAR'        => $options{'dist-shar'},
                  'BZIP2'       => $options{'dist-bzip2'},
@@ -6770,7 +6762,7 @@
 
     while (my ($token, $val) = each %pairs)
     {
-        $result .= "s/address@hidden@\E/\Q$val\E/g;";
+        $result .= "s/\Q%$token%\E/\Q$val\E/g;";
        if ($val)
        {
            $result .= "s/\Q?$token?\E//g;s/^.*\Q?!$token?\E.*\$//g;";
@@ -6840,23 +6832,23 @@
     my $ltxform;
     if (defined $configure_vars{'LIBTOOL'})
     {
-       # Transform '@LIBTOOL ...@' to '$(LIBTOOL) ...'
-       $ltxform = 's/address@hidden(address@hidden)\@/\$(LIBTOOL) $1/;';
+       # Transform '%LIBTOOL ...%' to '$(LIBTOOL) ...'
+       $ltxform = 's/%LIBTOOL([^\%]*)%/\$(LIBTOOL) $1/;';
     }
     else
     {
-       # Delete '@LIBTOOL ...@'
-       $ltxform = 's/address@hidden(address@hidden)\@//;';
+       # Delete '%LIBTOOL ...%'
+       $ltxform = 's/%LIBTOOL([^%]*)%//;';
     }
 
     my $cygxform;
     if (! $seen_exeext)
     {
-       $cygxform = 's/address@hidden@//g;';
+       $cygxform = 's/%EXEEXT%//g;';
     }
     else
     {
-       $cygxform = 's/address@hidden@/\$(EXEEXT)/g;';
+       $cygxform = 's/%EXEEXT%/\$(EXEEXT)/g;';
     }
 
     my $do_clean = 0;
Index: clean-hdr.am
===================================================================
RCS file: /cvs/automake/automake/clean-hdr.am,v
retrieving revision 1.4
diff -u -u -r1.4 clean-hdr.am
--- clean-hdr.am 2001/02/06 09:09:36 1.4
+++ clean-hdr.am 2001/02/26 20:34:51
@@ -19,4 +19,4 @@
 .PHONY: distclean-hdr
 distclean-am: distclean-hdr
 distclean-hdr:
-       -rm -f @FILES@
+       -rm -f %FILES%
Index: clean.am
===================================================================
RCS file: /cvs/automake/automake/clean.am,v
retrieving revision 1.36
diff -u -u -r1.36 clean.am
--- clean.am 2001/02/09 03:38:16 1.36
+++ clean.am 2001/02/26 20:34:51
@@ -40,7 +40,7 @@
        @echo "This command is intended for maintainers to use"
        @echo "it deletes files that may require special tools to rebuild."
        -rm -f Makefile.in
-MAINTAINERCLEAN        -test -z "@MCFILES@" || rm -f @MFILES@
+?MFILES?       -test -z "%MCFILES%" || rm -f %MFILES%
 
 .PHONY: clean mostlyclean distclean maintainer-clean \
 clean-generic mostlyclean-generic distclean-generic maintainer-clean-generic
Index: comp-vars.am
===================================================================
RCS file: /cvs/automake/automake/comp-vars.am,v
retrieving revision 1.4
diff -u -u -r1.4 comp-vars.am
--- comp-vars.am 2000/10/16 09:01:36 1.4
+++ comp-vars.am 2001/02/26 20:34:51
@@ -1,5 +1,5 @@
 ## automake - create Makefile.in from Makefile.am
-## Copyright 1994, 1995, 1996, 1998, 1999 Free Software Foundation, Inc.
+## Copyright 1994, 1995, 1996, 1998, 1999, 2001 Free Software Foundation, Inc.
 
 ## This program is free software; you can redistribute it and/or modify
 ## it under the terms of the GNU General Public License as published by
@@ -16,7 +16,7 @@
 ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 ## 02111-1307, USA.
 
-DEFS = @DEFS@@DEFAULT_INCLUDES@
+DEFS = @address@hidden
 CPPFLAGS = @CPPFLAGS@
 LDFLAGS = @LDFLAGS@
 LIBS = @LIBS@
Index: data.am
===================================================================
RCS file: /cvs/automake/automake/data.am,v
retrieving revision 1.30
diff -u -u -r1.30 data.am
--- data.am 2001/02/26 09:14:43 1.30
+++ data.am 2001/02/26 20:34:51
@@ -16,31 +16,31 @@
 ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 ## 02111-1307, USA.
 
-_am_installdirs += $(DESTDIR)$(@address@hidden)
-?EXEC?.PHONY install-exec-am: address@hidden@DATA
-?!EXEC?.PHONY install-data-am: address@hidden@DATA
address@hidden@DATA: $(@address@hidden)
+_am_installdirs += $(DESTDIR)$(%NDIR%dir)
+?EXEC?.PHONY install-exec-am: install-%DIR%DATA
+?!EXEC?.PHONY install-data-am: install-%DIR%DATA
+install-%DIR%DATA: $(%DIR%_DATA)
        @$(NORMAL_INSTALL)
-       $(mkinstalldirs) $(DESTDIR)$(@address@hidden)
+       $(mkinstalldirs) $(DESTDIR)$(%NDIR%dir)
 ## Funny invocation because Makefile variable can be empty, leading to
 ## a syntax error in sh.
-       @list='$(@address@hidden)'; for p in $$list; do \
+       @list='$(%DIR%_DATA)'; for p in $$list; do \
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
 ## If the _DATA variable has an entry like foo/bar, install it as
 ## $(destdir)/bar, not $(destdir)/foo/bar.  The user can always make a
 ## new dir variable for the latter case.
 ?BASE?   f="`echo $$p | sed -e 's|^.*/||'`"; \
 ?!BASE?          f="$$p"; \
-         echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(@address@hidden)/$$f"; \
-         $(INSTALL_DATA) $$d$$p $(DESTDIR)$(@address@hidden)/$$f; \
+         echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(%NDIR%dir)/$$f"; \
+         $(INSTALL_DATA) $$d$$p $(DESTDIR)$(%NDIR%dir)/$$f; \
        done
 
-.PHONY uninstall-am: address@hidden@DATA
address@hidden@DATA:
+.PHONY uninstall-am: uninstall-%DIR%DATA
+uninstall-%DIR%DATA:
        @$(NORMAL_UNINSTALL)
-       @list='$(@address@hidden)'; for p in $$list; do \
+       @list='$(%DIR%_DATA)'; for p in $$list; do \
 ?BASE?   f="`echo $$p | sed -e 's|^.*/||'`"; \
 ?!BASE?          f="$$p"; \
-         echo " rm -f $(DESTDIR)$(@address@hidden)/$$f"; \
-         rm -f $(DESTDIR)$(@address@hidden)/$$f; \
+         echo " rm -f $(DESTDIR)$(%NDIR%dir)/$$f"; \
+         rm -f $(DESTDIR)$(%NDIR%dir)/$$f; \
        done
Index: depend2.am
===================================================================
RCS file: /cvs/automake/automake/depend2.am,v
retrieving revision 1.28
diff -u -u -r1.28 depend2.am
--- depend2.am 2001/02/09 03:38:16 1.28
+++ depend2.am 2001/02/26 20:34:51
@@ -20,27 +20,23 @@
 ## This file is read several times:
 ## - once per language for generic compilation rules
 ## - once for each file which requires specific flags.
-##
-## It is worth noting that @AMDEPBACKSLASH@ is not transformed by automake,
-## it is AC_SUBST'ed, and @AMDEP@ can be both deactivated by automake,
-## or by AC_SUBST.
 
address@hidden@@address@hidden = @@address@hidden@
address@hidden@%FPFX%DEPMODE = @%FPFX%DEPMODE@
 
address@hidden@.o:
address@hidden@ source='@SOURCE@' object='@OBJ@' libtool=no @AMDEPBACKSLASH@
address@hidden@ depfile='$(DEPDIR)/@address@hidden' 
tmpdepfile='$(DEPDIR)/@address@hidden' @AMDEPBACKSLASH@
address@hidden@ $(@address@hidden) $(depcomp) @AMDEPBACKSLASH@
-       @COMPILE@ -c -o @OBJ@ `test -f @SOURCE@ || echo 
'$(srcdir)/'address@hidden@
+%EXT%.o:
address@hidden@ source='%SOURCE%' object='%OBJ%' libtool=no @AMDEPBACKSLASH@
address@hidden@ depfile='$(DEPDIR)/%BASE%.Po' tmpdepfile='$(DEPDIR)/%BASE%.TPo' 
@AMDEPBACKSLASH@
address@hidden@ $(%FPFX%DEPMODE) $(depcomp) @AMDEPBACKSLASH@
+       %COMPILE% -c -o %OBJ% `test -f %SOURCE% || echo '$(srcdir)/'`%SOURCE%
 
address@hidden@.lo:
address@hidden@ source='@SOURCE@' object='@LTOBJ@' libtool=yes @AMDEPBACKSLASH@
address@hidden@ depfile='$(DEPDIR)/@address@hidden' 
tmpdepfile='$(DEPDIR)/@address@hidden' @AMDEPBACKSLASH@
address@hidden@ $(@address@hidden) $(depcomp) @AMDEPBACKSLASH@
-?LIBTOOL?      @LTCOMPILE@ -c -o @LTOBJ@ `test -f @SOURCE@ || echo 
'$(srcdir)/'address@hidden@
+?LIBTOOL?%EXT%.lo:
address@hidden@ source='%SOURCE%' object='%LTOBJ%' libtool=yes @AMDEPBACKSLASH@
address@hidden@ depfile='$(DEPDIR)/%BASE%.Plo' 
tmpdepfile='$(DEPDIR)/%BASE%.TPlo' @AMDEPBACKSLASH@
address@hidden@ $(%FPFX%DEPMODE) $(depcomp) @AMDEPBACKSLASH@
+?LIBTOOL?      %LTCOMPILE% -c -o %LTOBJ% `test -f %SOURCE% || echo 
'$(srcdir)/'`%SOURCE%
 
address@hidden@.obj:
address@hidden@ source='@SOURCE@' object='@OBJOBJ@' libtool=no @AMDEPBACKSLASH@
address@hidden@ depfile='$(DEPDIR)/@address@hidden' 
tmpdepfile='$(DEPDIR)/@address@hidden' @AMDEPBACKSLASH@
address@hidden@ $(@address@hidden) $(depcomp) @AMDEPBACKSLASH@
-?OBJEXT?       @COMPILE@ -c -o @OBJOBJ@ `cygpath -w @address@hidden
+?OBJEXT?%EXT%.obj:
address@hidden@ source='%SOURCE%' object='%OBJOBJ%' libtool=no @AMDEPBACKSLASH@
address@hidden@ depfile='$(DEPDIR)/%BASE%.Po' tmpdepfile='$(DEPDIR)/%BASE%.TPo' 
@AMDEPBACKSLASH@
address@hidden@ $(%FPFX%DEPMODE) $(depcomp) @AMDEPBACKSLASH@
+?OBJEXT?       %COMPILE% -c -o %OBJOBJ% `cygpath -w %SOURCE%`
Index: distdir.am
===================================================================
RCS file: /cvs/automake/automake/distdir.am,v
retrieving revision 1.8
diff -u -u -r1.8 distdir.am
--- distdir.am 2001/02/26 09:54:24 1.8
+++ distdir.am 2001/02/26 20:34:51
@@ -24,7 +24,7 @@
 ## DIST_COMMON comes first so that README can be the very first file.
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 
-top_distdir = @TOP_DISTDIR@
+top_distdir = %TOP_DISTDIR%
 ?DISTDIR?distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
 
 distdir: $(DISTFILES)
@@ -43,7 +43,7 @@
 ?TOPDIR?       mkdir $(distdir)
 ##
 ##
-?DISTDIRS?     $(mkinstalldirs) @DISTDIRS@
+?DISTDIRS?     $(mkinstalldirs) %DISTDIRS%
 ##
 ##
        @for file in $(DISTFILES); do \
@@ -79,7 +79,7 @@
 ## directory, then we use `distdir' instead of `top_distdir'; this lets
 ## us work correctly with an enclosing package.
 ##
-?SUBDIRS?      for subdir in $(@DIST_SUBDIR_NAME@); do \
+?SUBDIRS?      for subdir in $(%DIST_SUBDIR_NAME%); do \
 ?SUBDIRS?        if test "$$subdir" = .; then :; else \
 ?SUBDIRS?          test -d $(distdir)/$$subdir \
 ?SUBDIRS?          || mkdir $(distdir)/$$subdir \
@@ -99,7 +99,7 @@
 ##
 ?DIST-TARGETS? $(MAKE) $(AM_MAKEFLAGS) \
 ?DIST-TARGETS?   top_distdir="${top_distdir}" distdir="$(distdir)" \
-?DIST-TARGETS?   @DIST-TARGETS@
+?DIST-TARGETS?   %DIST-TARGETS%
 ##
 ## This complex find command will try to avoid changing the modes of
 ## links into the source tree, in case they're hard-linked.  It will
Index: header-vars.am
===================================================================
RCS file: /cvs/automake/automake/header-vars.am,v
retrieving revision 1.37
diff -u -u -r1.37 header-vars.am
--- header-vars.am 2001/02/26 02:04:55 1.37
+++ header-vars.am 2001/02/26 20:34:51
@@ -53,7 +53,7 @@
 pkgincludedir = $(includedir)/@PACKAGE@
 
 ## Location of top build directory relative to this one.
-top_builddir = @top_builddir@
+top_builddir = %top_builddir%
 
 ACLOCAL = @ACLOCAL@
 AUTOCONF = @AUTOCONF@
Index: header.am
===================================================================
RCS file: /cvs/automake/automake/header.am,v
retrieving revision 1.31
diff -u -u -r1.31 header.am
--- header.am 2001/02/26 09:14:43 1.31
+++ header.am 2001/02/26 20:34:51
@@ -16,29 +16,29 @@
 ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 ## 02111-1307, USA.
 
-_am_installdirs += $(DESTDIR)$(@address@hidden)
-?EXEC?.PHONY install-exec-am: address@hidden@HEADERS
-?!EXEC?.PHONY install-data-am: address@hidden@HEADERS
address@hidden@HEADERS: $(@address@hidden)
+_am_installdirs += $(DESTDIR)$(%NDIR%dir)
+?EXEC?.PHONY install-exec-am: install-%DIR%HEADERS
+?!EXEC?.PHONY install-data-am: install-%DIR%HEADERS
+install-%DIR%HEADERS: $(%DIR%_HEADERS)
        @$(NORMAL_INSTALL)
-       $(mkinstalldirs) $(DESTDIR)$(@address@hidden)
+       $(mkinstalldirs) $(DESTDIR)$(%NDIR%dir)
 ## Funny invocation because Makefile variable can be empty, leading to
 ## a syntax error in sh.
-       @list='$(@address@hidden)'; for p in $$list; do \
+       @list='$(%DIR%_HEADERS)'; for p in $$list; do \
 ## A header file can be in the source directory or the build directory.
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
 ?BASE?   f="`echo $$p | sed -e 's|^.*/||'`"; \
 ?!BASE?          f="$$p"; \
-         echo " $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(@address@hidden)/$$f"; \
-         $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(@address@hidden)/$$f; \
+         echo " $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(%NDIR%dir)/$$f"; \
+         $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(%NDIR%dir)/$$f; \
        done
 
-.PHONY uninstall-am: address@hidden@HEADERS
address@hidden@HEADERS:
+.PHONY uninstall-am: uninstall-%DIR%HEADERS
+uninstall-%DIR%HEADERS:
        @$(NORMAL_UNINSTALL)
-       @list='$(@address@hidden)'; for p in $$list; do \
+       @list='$(%DIR%_HEADERS)'; for p in $$list; do \
 ?BASE?   f="`echo $$p | sed -e 's|^.*/||'`"; \
 ?!BASE?          f="$$p"; \
-         echo " rm -f $(DESTDIR)$(@address@hidden)/$$f"; \
-         rm -f $(DESTDIR)$(@address@hidden)/$$f; \
+         echo " rm -f $(DESTDIR)$(%NDIR%dir)/$$f"; \
+         rm -f $(DESTDIR)$(%NDIR%dir)/$$f; \
        done
Index: install.am
===================================================================
RCS file: /cvs/automake/automake/install.am,v
retrieving revision 1.5
diff -u -u -r1.5 install.am
--- install.am 2001/02/26 09:37:39 1.5
+++ install.am 2001/02/26 20:34:51
@@ -22,11 +22,11 @@
 ?SUBDIRS?.PHONY: installdirs installdirs-am installdirs-recursive
 ?SUBDIRS?installdirs: installdirs-recursive
 ?SUBDIRS?installdirs-am:
-?SUBDIRS??_am_installdirs?     $(mkinstalldirs) @_am_installdirs@
+?SUBDIRS??_am_installdirs?     $(mkinstalldirs) %_am_installdirs%
 
 ?!SUBDIRS?.PHONY: installdirs
 ?!SUBDIRS?installdirs:
-?!SUBDIRS??_am_installdirs?    $(mkinstalldirs) @_am_installdirs@
+?!SUBDIRS??_am_installdirs?    $(mkinstalldirs) %_am_installdirs%
 
 
 ## ----------------- ##
Index: java-clean.am
===================================================================
RCS file: /cvs/automake/automake/java-clean.am,v
retrieving revision 1.3
diff -u -u -r1.3 java-clean.am
--- java-clean.am 2001/02/23 15:11:19 1.3
+++ java-clean.am 2001/02/26 20:34:51
@@ -16,6 +16,6 @@
 ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 ## 02111-1307, USA.
 
-.PHONY clean-am: address@hidden@JAVA:
address@hidden@JAVA:
-       -rm *.class address@hidden@.stamp
+.PHONY clean-am: clean-%DIR%JAVA:
+clean-%DIR%JAVA:
+       -rm *.class class%DIR%.stamp
Index: java.am
===================================================================
RCS file: /cvs/automake/automake/java.am,v
retrieving revision 1.6
diff -u -u -r1.6 java.am
--- java.am 2001/02/25 18:04:29 1.6
+++ java.am 2001/02/26 20:34:51
@@ -16,23 +16,23 @@
 ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 ## 02111-1307, USA.
 
-?EXEC?.PHONY install-exec-am: address@hidden@JAVA
-?!EXEC?.PHONY install-data-am: address@hidden@JAVA
address@hidden@JAVA: address@hidden@.stamp
+?EXEC?.PHONY install-exec-am: install-%DIR%JAVA
+?!EXEC?.PHONY install-data-am: install-%DIR%JAVA
+install-%DIR%JAVA: class%DIR%.stamp
        @$(NORMAL_INSTALL)
-       $(mkinstalldirs) $(DESTDIR)$(@address@hidden)
+       $(mkinstalldirs) $(DESTDIR)$(%NDIR%dir)
 ## A single .java file can be compiled into multiple .class files.  So
 ## we just install all the .class files that got built into this
 ## directory.  This is not optimal, but will have to do for now.
        for p in *.class; do \
-         echo " $(INSTALL_DATA) $$p $(DESTDIR)$(@address@hidden)/$$p"; \
-         $(INSTALL_DATA) $$p $(DESTDIR)$(@address@hidden)/$$p; \
+         echo " $(INSTALL_DATA) $$p $(DESTDIR)$(%NDIR%dir)/$$p"; \
+         $(INSTALL_DATA) $$p $(DESTDIR)$(%NDIR%dir)/$$p; \
        done
 
-.PHONY uninstall-am: address@hidden@JAVA
address@hidden@JAVA:
+.PHONY uninstall-am: uninstall-%DIR%JAVA
+uninstall-%DIR%JAVA:
        @$(NORMAL_UNINSTALL)
        @for p in *.class; do \
-         echo " rm -f $(DESTDIR)$(@address@hidden)/$$p"; \
-         rm -f $(DESTDIR)$(@address@hidden)/$$p; \
+         echo " rm -f $(DESTDIR)$(%NDIR%dir)/$$p"; \
+         rm -f $(DESTDIR)$(%NDIR%dir)/$$p; \
        done
Index: library.am
===================================================================
RCS file: /cvs/automake/automake/library.am,v
retrieving revision 1.12
diff -u -u -r1.12 library.am
--- library.am 2000/10/16 09:01:36 1.12
+++ library.am 2001/02/26 20:34:51
@@ -15,7 +15,7 @@
 ## along with this program; if not, write to the Free Software
 ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 ## 02111-1307, USA.
address@hidden@: $(@address@hidden) $(@address@hidden)
-       -rm -f @LIBRARY@
-       $(@address@hidden) @LIBRARY@ $(@address@hidden) $(@address@hidden)
-       $(RANLIB) @LIBRARY@
+%LIBRARY%: $(%XLIBRARY%_OBJECTS) $(%XLIBRARY%_DEPENDENCIES)
+       -rm -f %LIBRARY%
+       $(%XLIBRARY%_AR) %LIBRARY% $(%XLIBRARY%_OBJECTS) $(%XLIBRARY%_LIBADD)
+       $(RANLIB) %LIBRARY%
Index: libs-clean.am
===================================================================
RCS file: /cvs/automake/automake/libs-clean.am,v
retrieving revision 1.5
diff -u -u -r1.5 libs-clean.am
--- libs-clean.am 2001/02/23 15:11:19 1.5
+++ libs-clean.am 2001/02/26 20:34:51
@@ -16,6 +16,6 @@
 ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 ## 02111-1307, USA.
 
-.PHONY clean-am: address@hidden@LIBRARIES
address@hidden@LIBRARIES:
-       -test -z "$(@address@hidden)" || rm -f $(@address@hidden)
+.PHONY clean-am: clean-%DIR%LIBRARIES
+clean-%DIR%LIBRARIES:
+       -test -z "$(%DIR%_LIBRARIES)" || rm -f $(%DIR%_LIBRARIES)
Index: libs.am
===================================================================
RCS file: /cvs/automake/automake/libs.am,v
retrieving revision 1.16
diff -u -u -r1.16 libs.am
--- libs.am 2001/02/26 19:16:16 1.16
+++ libs.am 2001/02/26 20:34:51
@@ -16,18 +16,18 @@
 ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 ## 02111-1307, USA.
 
-_am_installdirs += $(DESTDIR)$(@address@hidden)
-?EXEC?.PHONY install-exec-am: address@hidden@LIBRARIES
-?!EXEC?.PHONY install-data-am: address@hidden@LIBRARIES
address@hidden@LIBRARIES: $(@address@hidden)
+_am_installdirs += $(DESTDIR)$(%NDIR%dir)
+?EXEC?.PHONY install-exec-am: install-%DIR%LIBRARIES
+?!EXEC?.PHONY install-data-am: install-%DIR%LIBRARIES
+install-%DIR%LIBRARIES: $(%DIR%_LIBRARIES)
        @$(NORMAL_INSTALL)
-       $(mkinstalldirs) $(DESTDIR)$(@address@hidden)
+       $(mkinstalldirs) $(DESTDIR)$(%NDIR%dir)
 ## Funny invocation because Makefile variable can be empty, leading to
 ## a syntax error in sh.
-       @list='$(@address@hidden)'; for p in $$list; do \
+       @list='$(%DIR%_LIBRARIES)'; for p in $$list; do \
          if test -f $$p; then \
-           echo " $(INSTALL_DATA) $$p $(DESTDIR)$(@address@hidden)/$$p"; \
-           $(INSTALL_DATA) $$p $(DESTDIR)$(@address@hidden)/$$p; \
+           echo " $(INSTALL_DATA) $$p $(DESTDIR)$(%NDIR%dir)/$$p"; \
+           $(INSTALL_DATA) $$p $(DESTDIR)$(%NDIR%dir)/$$p; \
          else :; fi; \
        done
 ## We do two loops here so that $(POST_INSTALL) can be empty.  If we
@@ -36,18 +36,18 @@
 ## useless; sh never actually executes this command.  Read the GNU
 ## Standards for a little enlightenment on this.
        @$(POST_INSTALL)
-       @list='$(@address@hidden)'; for p in $$list; do \
+       @list='$(%DIR%_LIBRARIES)'; for p in $$list; do \
          if test -f $$p; then \
 ## Must ranlib after installing because mod time changes.
-           echo " $(RANLIB) $(DESTDIR)$(@address@hidden)/$$p"; \
-           $(RANLIB) $(DESTDIR)$(@address@hidden)/$$p; \
+           echo " $(RANLIB) $(DESTDIR)$(%NDIR%dir)/$$p"; \
+           $(RANLIB) $(DESTDIR)$(%NDIR%dir)/$$p; \
          else :; fi; \
        done
 
-.PHONY uninstall-am: address@hidden@LIBRARIES
address@hidden@LIBRARIES:
+.PHONY uninstall-am: uninstall-%DIR%LIBRARIES
+uninstall-%DIR%LIBRARIES:
        @$(NORMAL_UNINSTALL)
-       @list='$(@address@hidden)'; for p in $$list; do \
-         echo " rm -f $(DESTDIR)$(@address@hidden)/$$p"; \
-         rm -f $(DESTDIR)$(@address@hidden)/$$p; \
+       @list='$(%DIR%_LIBRARIES)'; for p in $$list; do \
+         echo " rm -f $(DESTDIR)$(%NDIR%dir)/$$p"; \
+         rm -f $(DESTDIR)$(%NDIR%dir)/$$p; \
        done
Index: lisp.am
===================================================================
RCS file: /cvs/automake/automake/lisp.am,v
retrieving revision 1.22
diff -u -u -r1.22 lisp.am
--- lisp.am 2001/02/26 09:14:43 1.22
+++ lisp.am 2001/02/26 20:34:51
@@ -16,34 +16,34 @@
 ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 ## 02111-1307, USA.
 
-_am_installdirs += $(DESTDIR)$(@address@hidden)
-?EXEC?.PHONY install-exec-am: address@hidden@LISP
-?!EXEC?.PHONY install-data-am: address@hidden@LISP
address@hidden@LISP: $(@address@hidden) $(ELCFILES)
+_am_installdirs += $(DESTDIR)$(%NDIR%dir)
+?EXEC?.PHONY install-exec-am: install-%DIR%LISP
+?!EXEC?.PHONY install-data-am: install-%DIR%LISP
+install-%DIR%LISP: $(%DIR%_LISP) $(ELCFILES)
        @$(NORMAL_INSTALL)
-       $(mkinstalldirs) $(DESTDIR)$(@address@hidden)
+       $(mkinstalldirs) $(DESTDIR)$(%NDIR%dir)
 ## Funny invocation because Makefile variable can be empty, leading to
 ## a syntax error in sh.
-       @list='$(@address@hidden)'; for p in $$list; do \
+       @list='$(%DIR%_LISP)'; for p in $$list; do \
 ## A lisp file can be in the source directory or the build directory.
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
 ?BASE?   f="`echo $$p | sed -e 's|^.*/||'`"; \
 ?!BASE?          f="$$p"; \
-         echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(@address@hidden)/$$f"; \
-         $(INSTALL_DATA) $$d$$p $(DESTDIR)$(@address@hidden)/$$f; \
+         echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(%NDIR%dir)/$$f"; \
+         $(INSTALL_DATA) $$d$$p $(DESTDIR)$(%NDIR%dir)/$$f; \
 ## Only install .elc file if it exists.
          if test -f $${p}c; then \
-           echo " $(INSTALL_DATA) $${p}c $(DESTDIR)$(@address@hidden)/$${f}c"; 
\
-           $(INSTALL_DATA) $${p}c $(DESTDIR)$(@address@hidden)/$${f}c; \
+           echo " $(INSTALL_DATA) $${p}c $(DESTDIR)$(%NDIR%dir)/$${f}c"; \
+           $(INSTALL_DATA) $${p}c $(DESTDIR)$(%NDIR%dir)/$${f}c; \
          else : ; fi; \
        done
 
-.PHONY uninstall-am: address@hidden@LISP
address@hidden@LISP:
+.PHONY uninstall-am: uninstall-%DIR%LISP
+uninstall-%DIR%LISP:
        @$(NORMAL_UNINSTALL)
-       @list='$(@address@hidden)'; for p in $$list; do \
+       @list='$(%DIR%_LISP)'; for p in $$list; do \
 ?BASE?   f="`echo $$p | sed -e 's|^.*/||'`"; \
 ?!BASE?          f="$$p"; \
-         echo " rm -f $(@address@hidden)/$$f 
$(DESTDIR)$(@address@hidden)/$${f}c"; \
-         rm -f $(DESTDIR)$(@address@hidden)/$$f 
$(DESTDIR)$(@address@hidden)/$${f}c; \
+         echo " rm -f $(%NDIR%dir)/$$f $(DESTDIR)$(%NDIR%dir)/$${f}c"; \
+         rm -f $(DESTDIR)$(%NDIR%dir)/$$f $(DESTDIR)$(%NDIR%dir)/$${f}c; \
        done
Index: ltlib-clean.am
===================================================================
RCS file: /cvs/automake/automake/ltlib-clean.am,v
retrieving revision 1.4
diff -u -u -r1.4 ltlib-clean.am
--- ltlib-clean.am 2001/02/23 15:11:19 1.4
+++ ltlib-clean.am 2001/02/26 20:34:51
@@ -16,6 +16,6 @@
 ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 ## 02111-1307, USA.
 
-.PHONY clean-am: address@hidden@LTLIBRARIES
address@hidden@LTLIBRARIES:
-       -test -z "$(@address@hidden)" || rm -f $(@address@hidden)
+.PHONY clean-am: clean-%DIR%LTLIBRARIES
+clean-%DIR%LTLIBRARIES:
+       -test -z "$(%DIR%_LTLIBRARIES)" || rm -f $(%DIR%_LTLIBRARIES)
Index: ltlib.am
===================================================================
RCS file: /cvs/automake/automake/ltlib.am,v
retrieving revision 1.16
diff -u -u -r1.16 ltlib.am
--- ltlib.am 2001/02/26 19:16:16 1.16
+++ ltlib.am 2001/02/26 20:34:51
@@ -17,29 +17,29 @@
 ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 ## 02111-1307, USA.
 
-_am_installdirs += $(DESTDIR)$(@address@hidden)
-?EXEC?.PHONY install-exec-am: address@hidden@LTLIBRARIES
-?!EXEC?.PHONY install-data-am: address@hidden@LTLIBRARIES
address@hidden@LTLIBRARIES: $(@address@hidden)
+_am_installdirs += $(DESTDIR)$(%NDIR%dir)
+?EXEC?.PHONY install-exec-am: install-%DIR%LTLIBRARIES
+?!EXEC?.PHONY install-data-am: install-%DIR%LTLIBRARIES
+install-%DIR%LTLIBRARIES: $(%DIR%_LTLIBRARIES)
        @$(NORMAL_INSTALL)
-       $(mkinstalldirs) $(DESTDIR)$(@address@hidden)
+       $(mkinstalldirs) $(DESTDIR)$(%NDIR%dir)
 ## Funny invocation because Makefile variable can be empty, leading to
 ## a syntax error in sh.
-       @list='$(@address@hidden)'; for p in $$list; do \
+       @list='$(%DIR%_LTLIBRARIES)'; for p in $$list; do \
          if test -f $$p; then \
 ## Note that we explicitly set the libtool mode.  This avoids any lossage
 ## if the program doesn't have a name that libtool expects.
 ## Use INSTALL and not INSTALL_DATA because libtool knows the right
 ## permissions to use.
-           echo " @LIBTOOL --mode=install@ $(INSTALL) $(INSTALL_STRIP_FLAG) 
$$p $(DESTDIR)$(@address@hidden)/$$p"; \
-           @LIBTOOL --mode=install@ $(INSTALL) $(INSTALL_STRIP_FLAG) $$p 
$(DESTDIR)$(@address@hidden)/$$p; \
+           echo " %LIBTOOL --mode=install% $(INSTALL) $(INSTALL_STRIP_FLAG) 
$$p $(DESTDIR)$(%NDIR%dir)/$$p"; \
+           %LIBTOOL --mode=install% $(INSTALL) $(INSTALL_STRIP_FLAG) $$p 
$(DESTDIR)$(%NDIR%dir)/$$p; \
          else :; fi; \
        done
 
-.PHONY uninstall-am: address@hidden@LTLIBRARIES
address@hidden@LTLIBRARIES:
+.PHONY uninstall-am: uninstall-%DIR%LTLIBRARIES
+uninstall-%DIR%LTLIBRARIES:
        @$(NORMAL_UNINSTALL)
-       @list='$(@address@hidden)'; for p in $$list; do \
-         echo " @LIBTOOL --mode=uninstall@ rm -f 
$(DESTDIR)$(@address@hidden)/$$p"; \
-         @LIBTOOL --mode=uninstall@ rm -f $(DESTDIR)$(@address@hidden)/$$p; \
+       @list='$(%DIR%_LTLIBRARIES)'; for p in $$list; do \
+         echo " %LIBTOOL --mode=uninstall% rm -f $(DESTDIR)$(%NDIR%dir)/$$p"; \
+         %LIBTOOL --mode=uninstall% rm -f $(DESTDIR)$(%NDIR%dir)/$$p; \
        done
Index: ltlibrary.am
===================================================================
RCS file: /cvs/automake/automake/ltlibrary.am,v
retrieving revision 1.3
diff -u -u -r1.3 ltlibrary.am
--- ltlibrary.am 2000/10/16 09:01:36 1.3
+++ ltlibrary.am 2001/02/26 20:34:51
@@ -15,5 +15,5 @@
 ## along with this program; if not, write to the Free Software
 ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 ## 02111-1307, USA.
address@hidden@: $(@address@hidden) $(@address@hidden)
-       $(@XLINK@) @RPATH@ $(@address@hidden) $(@address@hidden) 
$(@address@hidden) $(LIBS)
+%LTLIBRARY%: $(%XLTLIBRARY%_OBJECTS) $(%XLTLIBRARY%_DEPENDENCIES)
+       $(%XLINK%) %RPATH% $(%XLTLIBRARY%_LDFLAGS) $(%XLTLIBRARY%_OBJECTS) 
$(%XLTLIBRARY%_LIBADD) $(LIBS)
Index: mans.am
===================================================================
RCS file: /cvs/automake/automake/mans.am,v
retrieving revision 1.17
diff -u -u -r1.17 mans.am
--- mans.am 2001/02/26 09:14:43 1.17
+++ mans.am 2001/02/26 20:34:54
@@ -16,18 +16,18 @@
 ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 ## 02111-1307, USA.
 
-?INSTALL_MAN?_am_installdirs += $(DESTDIR)$(address@hidden@dir)
-.PHONY install-man: address@hidden@
address@hidden@: $(address@hidden@_MANS) $(man_MANS)
+?INSTALL_MAN?_am_installdirs += $(DESTDIR)$(man%SECTION%dir)
+.PHONY install-man: install-man%SECTION%
+install-man%SECTION%: $(man%SECTION%_MANS) $(man_MANS)
        @$(NORMAL_INSTALL)
-       $(mkinstalldirs) $(DESTDIR)$(address@hidden@dir)
-       @list='$(address@hidden@_MANS)'; \
+       $(mkinstalldirs) $(DESTDIR)$(man%SECTION%dir)
+       @list='$(man%SECTION%_MANS)'; \
 ## Extract all items from man_MANS that should go in this section.
 ## This must be done dynamically to support conditionals.
        l2='$(man_MANS)'; for i in $$l2; do \
          case "$$i" in \
 ## Have to accept files like `foo.1c'.
-           address@hidden@*) list="$$list $$i" ;; \
+           *.%SECTION%*) list="$$list $$i" ;; \
          esac; \
        done; \
        for i in $$list; do \
@@ -40,21 +40,21 @@
          inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
          inst=`echo $$inst | sed -e 's/^.*\///'`; \
          inst=`echo $$inst | sed '$(transform)'`.$$ext; \
-         echo " $(INSTALL_DATA) $$file 
$(DESTDIR)$(address@hidden@dir)/$$inst"; \
-         $(INSTALL_DATA) $$file $(DESTDIR)$(address@hidden@dir)/$$inst; \
+         echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man%SECTION%dir)/$$inst"; \
+         $(INSTALL_DATA) $$file $(DESTDIR)$(man%SECTION%dir)/$$inst; \
        done
 
 ## This is just completely gross.
-.PHONY uninstall-man: address@hidden@
address@hidden@:
+.PHONY uninstall-man: uninstall-man%SECTION%
+uninstall-man%SECTION%:
        @$(NORMAL_UNINSTALL)
-       @list='$(address@hidden@_MANS)'; \
+       @list='$(man%SECTION%_MANS)'; \
 ## Extract all items from man_MANS that should go in this section.
 ## This must be done dynamically to support conditionals.
        l2='$(man_MANS)'; for i in $$l2; do \
          case "$$i" in \
 ## Have to accept files like `foo.1c'.
-           address@hidden@*) list="$$list $$i" ;; \
+           *.%SECTION%*) list="$$list $$i" ;; \
          esac; \
        done; \
        for i in $$list; do \
@@ -64,6 +64,6 @@
          inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
          inst=`echo $$inst | sed -e 's/^.*\///'`; \
          inst=`echo $$inst | sed '$(transform)'`.$$ext; \
-         echo " rm -f $(DESTDIR)$(address@hidden@dir)/$$inst"; \
-         rm -f $(DESTDIR)$(address@hidden@dir)/$$inst; \
+         echo " rm -f $(DESTDIR)$(man%SECTION%dir)/$$inst"; \
+         rm -f $(DESTDIR)$(man%SECTION%dir)/$$inst; \
        done
Index: program.am
===================================================================
RCS file: /cvs/automake/automake/program.am,v
retrieving revision 1.18
diff -u -u -r1.18 program.am
--- program.am 2000/10/16 09:01:36 1.18
+++ program.am 2001/02/26 20:34:54
@@ -15,11 +15,11 @@
 ## along with this program; if not, write to the Free Software
 ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 ## 02111-1307, USA.
address@hidden@@EXEEXT@: $(@address@hidden) $(@address@hidden)
+%PROGRAM%%EXEEXT%: $(%XPROGRAM%_OBJECTS) $(%XPROGRAM%_DEPENDENCIES)
 ## Remove program before linking.  Otherwise the link will fail if the
 ## program is running somewhere.  FIXME: this could be a loss if
 ## you're using an incremental linker.  Maybe we should think twice?
 ## Or maybe not... sadly, incremental linkers are rarer than losing
 ## systems.
-       @rm -f @PROGRAM@@EXEEXT@
-       $(@XLINK@) $(@address@hidden) $(@address@hidden) $(@address@hidden) 
$(LIBS)
+       @rm -f %PROGRAM%%EXEEXT%
+       $(%XLINK%) $(%XPROGRAM%_LDFLAGS) $(%XPROGRAM%_OBJECTS) 
$(%XPROGRAM%_LDADD) $(LIBS)
Index: progs-clean.am
===================================================================
RCS file: /cvs/automake/automake/progs-clean.am,v
retrieving revision 1.7
diff -u -u -r1.7 progs-clean.am
--- progs-clean.am 2001/02/23 15:11:19 1.7
+++ progs-clean.am 2001/02/26 20:34:54
@@ -16,6 +16,6 @@
 ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 ## 02111-1307, USA.
 
-.PHONY clean-am: address@hidden@PROGRAMS
address@hidden@PROGRAMS:
-       -test -z "$(@address@hidden)" || rm -f $(@address@hidden)
+.PHONY clean-am: clean-%DIR%PROGRAMS
+clean-%DIR%PROGRAMS:
+       -test -z "$(%DIR%_PROGRAMS)" || rm -f $(%DIR%_PROGRAMS)
Index: progs.am
===================================================================
RCS file: /cvs/automake/automake/progs.am,v
retrieving revision 1.26
diff -u -u -r1.26 progs.am
--- progs.am 2001/02/26 19:16:16 1.26
+++ progs.am 2001/02/26 20:34:54
@@ -16,30 +16,30 @@
 ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 ## 02111-1307, USA.
 
-_am_installdirs += $(DESTDIR)$(@address@hidden)
-?EXEC?.PHONY install-exec-am: address@hidden@PROGRAMS
-?!EXEC?.PHONY install-data-am: address@hidden@PROGRAMS
address@hidden@PROGRAMS: $(@address@hidden)
+_am_installdirs += $(DESTDIR)$(%NDIR%dir)
+?EXEC?.PHONY install-exec-am: install-%DIR%PROGRAMS
+?!EXEC?.PHONY install-data-am: install-%DIR%PROGRAMS
+install-%DIR%PROGRAMS: $(%DIR%_PROGRAMS)
        @$(NORMAL_INSTALL)
-       $(mkinstalldirs) $(DESTDIR)$(@address@hidden)
+       $(mkinstalldirs) $(DESTDIR)$(%NDIR%dir)
 ## Funny invocation because Makefile variable can be empty, leading to
 ## a syntax error in sh.
-       @list='$(@address@hidden)'; for p in $$list; do \
+       @list='$(%DIR%_PROGRAMS)'; for p in $$list; do \
          if test -f $$p; then \
 ## Note that we explicitly set the libtool mode.  This avoids any
 ## lossage if the install program doesn't have a name that libtool
 ## expects.
            f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 
's/$$/$(EXEEXT)/'`"; \
-           echo " $(INSTALL_PROGRAM_ENV) @LIBTOOL --mode=install@ 
$(INSTALL_PROGRAM) $$p $(DESTDIR)$(@address@hidden)/$$f"; \
-           $(INSTALL_PROGRAM_ENV) @LIBTOOL --mode=install@ $(INSTALL_PROGRAM) 
$$p $(DESTDIR)$(@address@hidden)/$$f; \
+           echo " $(INSTALL_PROGRAM_ENV) %LIBTOOL --mode=install% 
$(INSTALL_PROGRAM) $$p $(DESTDIR)$(%NDIR%dir)/$$f"; \
+           $(INSTALL_PROGRAM_ENV) %LIBTOOL --mode=install% $(INSTALL_PROGRAM) 
$$p $(DESTDIR)$(%NDIR%dir)/$$f; \
          else :; fi; \
        done
 
-.PHONY uninstall-am: address@hidden@PROGRAMS
address@hidden@PROGRAMS:
+.PHONY uninstall-am: uninstall-%DIR%PROGRAMS
+uninstall-%DIR%PROGRAMS:
        @$(NORMAL_UNINSTALL)
-       @list='$(@address@hidden)'; for p in $$list; do \
+       @list='$(%DIR%_PROGRAMS)'; for p in $$list; do \
          f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 
's/$$/$(EXEEXT)/'`"; \
-         echo " rm -f $(DESTDIR)$(@address@hidden)/$$f"; \
-         rm -f $(DESTDIR)$(@address@hidden)/$$f; \
+         echo " rm -f $(DESTDIR)$(%NDIR%dir)/$$f"; \
+         rm -f $(DESTDIR)$(%NDIR%dir)/$$f; \
        done
Index: python.am
===================================================================
RCS file: /cvs/automake/automake/python.am,v
retrieving revision 1.6
diff -u -u -r1.6 python.am
--- python.am 2001/02/26 19:16:16 1.6
+++ python.am 2001/02/26 20:34:54
@@ -16,30 +16,30 @@
 ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 ## 02111-1307, USA.
 
-_am_installdirs += $(DESTDIR)$(@address@hidden)
-?EXEC?.PHONY install-exec-am: address@hidden@PYTHON
-?!EXEC?.PHONY install-data-am: address@hidden@PYTHON
address@hidden@PYTHON: $(@address@hidden)
+_am_installdirs += $(DESTDIR)$(%DIR%dir)
+?EXEC?.PHONY install-exec-am: install-%DIR%PYTHON
+?!EXEC?.PHONY install-data-am: install-%DIR%PYTHON
+install-%DIR%PYTHON: $(%DIR%_PYTHON)
        @$(NORMAL_INSTALL)
-       $(mkinstalldirs) $(DESTDIR)$(@address@hidden)
-       @list='$(@address@hidden)'; for p in $$list; do\
+       $(mkinstalldirs) $(DESTDIR)$(%DIR%dir)
+       @list='$(%DIR%_PYTHON)'; for p in $$list; do\
          if test -f $(srcdir)/$$p; then \
 ## Don't perform translation, since script name is important.
-           echo " $(INSTALL_PROGRAM) $(srcdir)/$$p 
$(DESTDIR)$(@address@hidden)/$$p"; \
-           $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(@address@hidden)/$$p; \
+           echo " $(INSTALL_PROGRAM) $(srcdir)/$$p $(DESTDIR)$(%DIR%dir)/$$p"; 
\
+           $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(%DIR%dir)/$$p; \
          else :; fi; \
        done
 ## Byte-compile must be done at install time, since file times are
 ## encoded in the actual files.
-       @PYTHON=$(PYTHON) $(py_compile) --basedir $(DESTDIR)$(@address@hidden) 
$(@address@hidden)
+       @PYTHON=$(PYTHON) $(py_compile) --basedir $(DESTDIR)$(%DIR%dir) 
$(%DIR%_PYTHON)
 
-.PHONY uninstall-am: address@hidden@PYTHON
address@hidden@PYTHON:
+.PHONY uninstall-am: uninstall-%DIR%PYTHON
+uninstall-%DIR%PYTHON:
        @$(NORMAL_UNINSTALL)
-       list='$(@address@hidden)'; for p in $$list; do \
-         rm -f $(DESTDIR)$(@address@hidden)/$$p; \
+       list='$(%DIR%_PYTHON)'; for p in $$list; do \
+         rm -f $(DESTDIR)$(%DIR%dir)/$$p; \
 ## This is to remove the .pyc and .pyo byte compiled versions (a bit
 ## of a hack).
-         rm -f $(DESTDIR)$(@address@hidden)/$${p}c; \
-         rm -f $(DESTDIR)$(@address@hidden)/$${p}o; \
+         rm -f $(DESTDIR)$(%DIR%dir)/$${p}c; \
+         rm -f $(DESTDIR)$(%DIR%dir)/$${p}o; \
        done
Index: remake-hdr.am
===================================================================
RCS file: /cvs/automake/automake/remake-hdr.am,v
retrieving revision 1.30
diff -u -u -r1.30 remake-hdr.am
--- remake-hdr.am 2001/01/16 11:15:21 1.30
+++ remake-hdr.am 2001/02/26 20:34:54
@@ -1,5 +1,6 @@
 ## automake - create Makefile.in from Makefile.am
-## Copyright 1994, 1995, 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
+## Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2001
+## Free Software Foundation, Inc.
 
 ## This program is free software; you can redistribute it and/or modify
 ## it under the terms of the GNU General Public License as published by
@@ -15,40 +16,41 @@
 ## along with this program; if not, write to the Free Software
 ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 ## 02111-1307, USA.
address@hidden@: @STAMP@
+%CONFIG_HEADER%: %STAMP%
 ## Recover from removal of CONFIG_HEADER
        @if test ! -f $@; then \
-               rm -f @STAMP@; \
-               $(MAKE) @STAMP@; \
+               rm -f %STAMP%; \
+               $(MAKE) %STAMP%; \
        else :; fi
 ## Explicitly look in srcdir for benefit of non-GNU makes.
address@hidden@: $(srcdir)/@CONFIG_HEADER_IN@ $(top_builddir)/config.status
-       @rm -f @STAMP@ @address@hidden
+%STAMP%: $(srcdir)/%CONFIG_HEADER_IN% $(top_builddir)/config.status
+       @rm -f %STAMP% %STAMP%T
 ## We used to try to get a real timestamp here.  But the fear is that
 ## that will cause unnecessary cvs conflicts
-       @echo timestamp > @address@hidden 2> /dev/null
+       @echo timestamp > %STAMP%T 2> /dev/null
        cd $(top_builddir) \
-         && CONFIG_FILES= address@hidden@ \
+         && CONFIG_FILES= CONFIG_HEADERS=%CONFIG_HEADER_FULL% \
             $(SHELL) ./config.status
 ## Creating the timestamp first, and moving it later, helps ensure that
 ## it will be older than the header file, avoiding needless triggering
 ## of the rebuild rule.
-       @mv @address@hidden @STAMP@
+       @mv %STAMP%T %STAMP%
 ## Explicitly look in srcdir for benefit of non-GNU makes.
 ## SRC_STAMP takes into account a possible subdir where CONFIG_HEADER_IN is
-$(srcdir)/@CONFIG_HEADER_IN@: @address@hidden(srcdir)/@address@hidden
+?MAINTAINER_MODE?$(srcdir)/%CONFIG_HEADER_IN%: 
@address@hidden(srcdir)/%SRC_STAMP%.in
+?!MAINTAINER_MODE?$(srcdir)/%CONFIG_HEADER_IN%: $(srcdir)/%SRC_STAMP%.in
 ## Recover from removal of CONFIG_HEADER_IN
        @if test ! -f $@; then \
-               rm -f $(srcdir)/@address@hidden; \
-               $(MAKE) $(srcdir)/@address@hidden; \
+               rm -f $(srcdir)/%SRC_STAMP%.in; \
+               $(MAKE) $(srcdir)/%SRC_STAMP%.in; \
        else :; fi
-$(srcdir)/@address@hidden: $(top_srcdir)/@CONFIGURE_AC@ $(ACLOCAL_M4) @FILES@
-       @rm -f $(srcdir)/@address@hidden $(srcdir)/@address@hidden
+$(srcdir)/%SRC_STAMP%.in: $(top_srcdir)/%CONFIGURE_AC% $(ACLOCAL_M4) %FILES%
+       @rm -f $(srcdir)/%SRC_STAMP%.in $(srcdir)/%SRC_STAMP%.inT
 ## We used to try to get a real timestamp here.  But the fear is that
 ## that will cause unnecessary cvs conflicts
-       @echo timestamp > $(srcdir)/@address@hidden 2> /dev/null
+       @echo timestamp > $(srcdir)/%SRC_STAMP%.inT 2> /dev/null
        cd $(top_srcdir) && $(AUTOHEADER)
 ## Creating the timestamp first, and moving it later, helps ensure that
 ## it will be older than the header file, avoiding needless triggering
 ## of the rebuild rule.
-       @mv $(srcdir)/@address@hidden $(srcdir)/@address@hidden
+       @mv $(srcdir)/%SRC_STAMP%.inT $(srcdir)/%SRC_STAMP%.in
Index: remake.am
===================================================================
RCS file: /cvs/automake/automake/remake.am,v
retrieving revision 1.25
diff -u -u -r1.25 remake.am
--- remake.am 2001/01/16 11:15:21 1.25
+++ remake.am 2001/02/26 20:34:54
@@ -1,5 +1,5 @@
 ## automake - create Makefile.in from Makefile.am
-## Copyright 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
+## Copyright 1994, 1995, 1996, 1997, 1998, 2001 Free Software Foundation, Inc.
 
 ## This program is free software; you can redistribute it and/or modify
 ## it under the terms of the GNU General Public License as published by
@@ -20,5 +20,6 @@
 config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
        $(SHELL) ./config.status --recheck
 ## Explicitly look in srcdir for benefit of non-GNU makes.
-$(srcdir)/configure: @address@hidden(srcdir)/@CONFIGURE_AC@ $(ACLOCAL_M4) 
$(CONFIGURE_DEPENDENCIES)
+?MAINTAINER_MODE?$(srcdir)/configure: @address@hidden(srcdir)/%CONFIGURE_AC% 
$(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
+?!MAINTAINER_MODE?$(srcdir)/configure: $(srcdir)/%CONFIGURE_AC% $(ACLOCAL_M4) 
$(CONFIGURE_DEPENDENCIES)
        cd $(srcdir) && $(AUTOCONF)
Index: scripts.am
===================================================================
RCS file: /cvs/automake/automake/scripts.am,v
retrieving revision 1.36
diff -u -u -r1.36 scripts.am
--- scripts.am 2001/02/26 19:16:16 1.36
+++ scripts.am 2001/02/26 20:34:54
@@ -16,37 +16,37 @@
 ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 ## 02111-1307, USA.
 
-_am_installdirs += $(DESTDIR)$(@address@hidden)
-?EXEC?.PHONY install-exec-am: address@hidden@SCRIPTS
-?!EXEC?.PHONY install-data-am: address@hidden@SCRIPTS
address@hidden@SCRIPTS: $(@address@hidden)
+_am_installdirs += $(DESTDIR)$(%NDIR%dir)
+?EXEC?.PHONY install-exec-am: install-%DIR%SCRIPTS
+?!EXEC?.PHONY install-data-am: install-%DIR%SCRIPTS
+install-%DIR%SCRIPTS: $(%DIR%_SCRIPTS)
        @$(NORMAL_INSTALL)
-       $(mkinstalldirs) $(DESTDIR)$(@address@hidden)
+       $(mkinstalldirs) $(DESTDIR)$(%NDIR%dir)
 ## Funny invocation because Makefile variable can be empty, leading to
 ## a syntax error in sh.
-       @list='$(@address@hidden)'; for p in $$list; do \
+       @list='$(%DIR%_SCRIPTS)'; for p in $$list; do \
          f="`echo $$p|sed '$(transform)'`"; \
          if test -f $$p; then \
-           echo " $(INSTALL_SCRIPT) $$p $(DESTDIR)$(@address@hidden)/$$f"; \
-           $(INSTALL_SCRIPT) $$p $(DESTDIR)$(@address@hidden)/$$f; \
+           echo " $(INSTALL_SCRIPT) $$p $(DESTDIR)$(%NDIR%dir)/$$f"; \
+           $(INSTALL_SCRIPT) $$p $(DESTDIR)$(%NDIR%dir)/$$f; \
          elif test -f $(srcdir)/$$p; then \
-           echo " $(INSTALL_SCRIPT) $(srcdir)/$$p 
$(DESTDIR)$(@address@hidden)/$$f"; \
-           $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(@address@hidden)/$$f; \
+           echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(%NDIR%dir)/$$f"; 
\
+           $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(%NDIR%dir)/$$f; \
          else :; fi; \
        done
 
-.PHONY uninstall-am: address@hidden@SCRIPTS
address@hidden@SCRIPTS:
+.PHONY uninstall-am: uninstall-%DIR%SCRIPTS
+uninstall-%DIR%SCRIPTS:
        @$(NORMAL_UNINSTALL)
-       @list='$(@address@hidden)'; for p in $$list; do \
+       @list='$(%DIR%_SCRIPTS)'; for p in $$list; do \
          f="`echo $$p|sed '$(transform)'`"; \
-         echo " rm -f $(DESTDIR)$(@address@hidden)/$$f"; \
-         rm -f $(DESTDIR)$(@address@hidden)/$$f; \
+         echo " rm -f $(DESTDIR)$(%NDIR%dir)/$$f"; \
+         rm -f $(DESTDIR)$(%NDIR%dir)/$$f; \
        done
 
 ## Uncomment line in handle_scripts when this is uncommented.
-## address@hidden@SCRIPTS:
-##     pid=$$$$; list="$(@address@hidden)"; for p in $$list; do \
+## check-%DIR%SCRIPTS:
+##     pid=$$$$; list="$(%DIR%_SCRIPTS)"; for p in $$list; do \
 ##       for opt in --help --version; do \
 ##         if test -f $$p; then :; \
 ##         elif test -f $(srcdir)/$$p; then \
Index: subdirs.am
===================================================================
RCS file: /cvs/automake/automake/subdirs.am,v
retrieving revision 1.49
diff -u -u -r1.49 subdirs.am
--- subdirs.am 2001/02/23 15:06:16 1.49
+++ subdirs.am 2001/02/26 20:34:54
@@ -26,11 +26,11 @@
 
 
 .PHONY: all-recursive install-data-recursive install-exec-recursive \
-installdirs-recursive install-recursive uninstall-recursive @INSTALLINFO@ \
+installdirs-recursive install-recursive uninstall-recursive %INSTALLINFO% \
 check-recursive installcheck-recursive info-recursive dvi-recursive
 
 all-recursive install-data-recursive install-exec-recursive \
-installdirs-recursive install-recursive uninstall-recursive @INSTALLINFO@ \
+installdirs-recursive install-recursive uninstall-recursive %INSTALLINFO% \
 check-recursive installcheck-recursive info-recursive dvi-recursive:
        @set fnord $(MAKEFLAGS); amf=$$2; \
        dot_seen=no; \
Index: tags.am
===================================================================
RCS file: /cvs/automake/automake/tags.am,v
retrieving revision 1.27
diff -u -u -r1.27 tags.am
--- tags.am 2001/02/09 03:38:16 1.27
+++ tags.am 2001/02/26 20:34:54
@@ -29,7 +29,7 @@
               END { for (i in files) print i; }'`; \
        mkid -fID $$unique $(LISP)
 
-TAGS: @DIRS@ $(HEADERS) $(SOURCES) @CONFIG@ $(TAGS_DEPENDENCIES) \
+TAGS: %DIRS% $(HEADERS) $(SOURCES) %CONFIG% $(TAGS_DEPENDENCIES) \
                $(TAGS_FILES) $(LISP)
        tags=; \
        here=`pwd`; \
@@ -48,8 +48,8 @@
          $(AWK) '    { files[$$0] = 1; } \
               END { for (i in files) print i; }'`; \
 ## Make sure we have something to run etags on.
-       test -z "$(ETAGS_ARGS)@address@hidden(LISP)$$tags" \
-         || etags $(ETAGS_ARGS) $$tags @CONFIG@ $$unique $(LISP)
+       test -z "$(ETAGS_ARGS)%CONFIG%$$unique$(LISP)$$tags" \
+         || etags $(ETAGS_ARGS) $$tags %CONFIG% $$unique $(LISP)
 
 ## Support `Global' tags.
 GTAGS:
Index: texi-vers.am
===================================================================
RCS file: /cvs/automake/automake/texi-vers.am,v
retrieving revision 1.16
diff -u -u -r1.16 texi-vers.am
--- texi-vers.am 2001/02/06 09:09:36 1.16
+++ texi-vers.am 2001/02/26 20:34:56
@@ -16,32 +16,34 @@
 ## along with this program; if not, write to the Free Software
 ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 ## 02111-1307, USA.
-$(srcdir)/@VTEXI@: @address@hidden(srcdir)/address@hidden@
+?MAINTAINER_MODE?$(srcdir)/%VTEXI%: @address@hidden(srcdir)/stamp-%VTI%
+?!MAINTAINER_MODE?$(srcdir)/%VTEXI%: $(srcdir)/stamp-%VTI%
        @:
 
-## Depend on @CONFIGURE_AC@ so that version number updates cause a
+## Depend on %CONFIGURE_AC% so that version number updates cause a
 ## rebuild.
-$(srcdir)/address@hidden@: @TEXI@ $(top_srcdir)/@CONFIGURE_AC@
-       @(set `$(SHELL) @address@hidden $(srcdir)/@address@hidden; \
+$(srcdir)/stamp-%VTI%: %TEXI% $(top_srcdir)/%CONFIGURE_AC%
+       @(set `$(SHELL) %MDDIR%mdate-sh $(srcdir)/%TEXI%`; \
        echo "@set UPDATED $$1 $$2 $$3"; \
        echo "@set UPDATED-MONTH $$2 $$3"; \
        echo "@set EDITION $(VERSION)"; \
-       echo "@set VERSION $(VERSION)") > @address@hidden
+       echo "@set VERSION $(VERSION)") > %VTI%.tmp
 ## Use cp and rm here because some older "mv"s can't move across
 ## filesystems.  Furthermore, GNU "mv" in the AmigaDOS environment
 ## can't handle this.
-       @cmp -s @address@hidden $(srcdir)/@VTEXI@ \
-         || (echo "Updating $(srcdir)/@VTEXI@"; \
-             cp @address@hidden $(srcdir)/@VTEXI@)
-       address@hidden -f @address@hidden
-       @cp $(srcdir)/@VTEXI@ $@
+       @cmp -s %VTI%.tmp $(srcdir)/%VTEXI% \
+         || (echo "Updating $(srcdir)/%VTEXI%"; \
+             cp %VTI%.tmp $(srcdir)/%VTEXI%)
+       address@hidden -f %VTI%.tmp
+       @cp $(srcdir)/%VTEXI% $@
 
-mostlyclean-am: address@hidden@
address@hidden@:
-       -rm -f @address@hidden
+mostlyclean-am: mostlyclean-%VTI%
+mostlyclean-%VTI%:
+       -rm -f %VTI%.tmp
 
-maintainer-clean-am: address@hidden@
address@hidden@:
-       address@hidden@rm -f $(srcdir)/address@hidden@ $(srcdir)/@VTEXI@
+maintainer-clean-am: maintainer-clean-%VTI%
+maintainer-clean-%VTI%:
address@hidden@ -rm -f $(srcdir)/stamp-%VTI% $(srcdir)/%VTEXI%
+?!MAINTAINER_MODE?     -rm -f $(srcdir)/stamp-%VTI% $(srcdir)/%VTEXI%
 
-.PHONY: address@hidden@ address@hidden@
+.PHONY: mostlyclean-%VTI% maintainer-clean-%VTI%
Index: texibuild.am
===================================================================
RCS file: /cvs/automake/automake/texibuild.am,v
retrieving revision 1.1
diff -u -u -r1.1 texibuild.am
--- texibuild.am 2001/02/25 04:37:52 1.1
+++ texibuild.am 2001/02/26 20:34:56
@@ -17,7 +17,7 @@
 ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 ## 02111-1307, USA.
 
address@hidden@.info:
+.%SUFFIX%.info:
 ## We want to force the .info file to be built in srcdir.  This is
 ## probably the simplest way.  However, at Cygnus .info files are
 ## always put into the build directory.  So at runtime we select which
@@ -32,13 +32,13 @@
 ?CYGNUS?       @rm -f $@ address@hidden address@hidden
 ?CYGNUS?       $(MAKEINFO) -I $(srcdir) $<
 
address@hidden@.dvi:
-       address@hidden@:$$TEXINPUTS \
+.%SUFFIX%.dvi:
+       TEXINPUTS=%TEXINFODIR%:$$TEXINPUTS \
 ## Must set MAKEINFO like this so that version.texi will be found even
 ## if it is in srcdir.
          MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
 
address@hidden@:
+.%SUFFIX%:
 ## We want to force the .info file to be built in srcdir.  This is
 ## probably the simplest way.  However, at Cygnus .info files are
 ## always put into the build directory.  So at runtime we select which
Index: texinfos.am
===================================================================
RCS file: /cvs/automake/automake/texinfos.am,v
retrieving revision 1.77
diff -u -u -r1.77 texinfos.am
--- texinfos.am 2001/02/26 18:27:46 1.77
+++ texinfos.am 2001/02/26 20:34:56
@@ -110,7 +110,7 @@
 .PHONY: mostlyclean-aminfo
 mostlyclean-am: mostlyclean-aminfo
 mostlyclean-aminfo:
address@hidden@
+%TEXICLEAN%
 
 .PHONY: maintainer-clean-aminfo
 maintainer-clean-am: maintainer-clean-aminfo



reply via email to

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