stamp-h1 and stamp-h1T resolve to the same file name on MSDOS,
so use stamp-h1.T instead.
Note that problems will still arise if stamp-h1 and stamp-h10
need to be present in the same directory.

2001-02-10  Tim Van Holder  <[EMAIL PROTECTED]>

        * remake-hdr.am (@STAMP@): Use .T as suffix for the
        temporary file.

Index: remake-hdr.am
===================================================================
RCS file: /cvs/automake/remake-hdr.am,v
retrieving revision 1.30
diff -u -r1.30 remake-hdr.am
--- remake-hdr.am       2001/01/16 11:15:21     1.30
+++ remake-hdr.am       2001/02/10 21:25:16
@@ -23,17 +23,17 @@
        else :; fi
 ## Explicitly look in srcdir for benefit of non-GNU makes.
 @STAMP@: $(srcdir)/@CONFIG_HEADER_IN@ $(top_builddir)/config.status
-       @rm -f @STAMP@ @STAMP@T
+       @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 > @STAMP@T 2> /dev/null
+       @echo timestamp > @STAMP@.T 2> /dev/null
        cd $(top_builddir) \
          && 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 @STAMP@T @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@:
@MAINTAINER_MODE_TRUE@$(srcdir)/@SRC_STAMP@.in


Reply via email to