summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2002-06-15 08:46:59 +0000
committerJim Meyering <jim@meyering.net>2002-06-15 08:46:59 +0000
commit39237a241f7a0c8db3201babb33b8b145fd482ca (patch)
tree49689333b500c9395f2737ebeca68df7af2dcb0f /lib
parent8ba0cddae4c3bcc7c1ffbac7a9236789671efbe3 (diff)
downloadcoreutils-39237a241f7a0c8db3201babb33b8b145fd482ca.tar.xz
(lstat.c, stat.c, .sin.sed): Use t-$@, rather than $@-t,
so that each temporary file name is unique and valid in the first 8 characters, for operation under DOS.
Diffstat (limited to 'lib')
-rw-r--r--lib/Makefile.am12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am
index ac3fee828..7262a03a0 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -114,8 +114,8 @@ lstat.c: xstat.in
-e 's/@xstat@/lstat/g' \
-e '/_LSTAT_ONLY@/d' \
-e '/@BEGIN_STAT_ONLY@/,/@END_STAT_ONLY@/d' \
- $(srcdir)/xstat.in > $@-t
- mv $@-t $@
+ $(srcdir)/xstat.in > t-$@
+ mv t-$@ $@
stat.c: xstat.in
sed \
@@ -123,8 +123,8 @@ stat.c: xstat.in
-e 's/@xstat@/stat/g' \
-e '/_STAT_ONLY@/d' \
-e '/@BEGIN_LSTAT_ONLY@/,/@END_LSTAT_ONLY@/d' \
- $(srcdir)/xstat.in > $@-t
- mv $@-t $@
+ $(srcdir)/xstat.in > t-$@
+ mv t-$@ $@
# The following is needed in order to install a simple file in $(libdir)
# which is shared with other installed packages. We use a list of referencing
@@ -169,8 +169,8 @@ charset.alias: config.charset
SUFFIXES = .sed .sin
.sin.sed:
- sed -e '/^#/d' -e 's/@''PACKAGE''@/@PACKAGE@/g' $< > $@-t
- mv $@-t $@
+ sed -e '/^#/d' -e 's/@''PACKAGE''@/@PACKAGE@/g' $< > t-$@
+ mv t-$@ $@
CLEANFILES = charset.alias ref-add.sed ref-del.sed