summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Makefile.in14
-rw-r--r--tests/ls/Makefile.in2
2 files changed, 13 insertions, 3 deletions
diff --git a/lib/Makefile.in b/lib/Makefile.in
index 808cb07bf..b4fc848cb 100644
--- a/lib/Makefile.in
+++ b/lib/Makefile.in
@@ -656,11 +656,21 @@ distclean-generic clean-generic maintainer-clean-generic clean \
mostlyclean distclean maintainer-clean
lstat.c: xstat.in
- sed -e '/@IGNORE@/d' -e 's/@xstat@/lstat/g' $(srcdir)/xstat.in > $@-t
+ sed \
+ -e '/@IGNORE@/d' \
+ -e 's/@xstat@/lstat/g' \
+ -e '/_LSTAT_ONLY@/d' \
+ -e '/@BEGIN_STAT_ONLY@/,/@END_STAT_ONLY@/d' \
+ $(srcdir)/xstat.in > $@-t
mv $@-t $@
stat.c: xstat.in
- sed -e '/@IGNORE@/d' -e 's/@xstat@/stat/g' $(srcdir)/xstat.in > $@-t
+ sed \
+ -e '/@IGNORE@/d' \
+ -e 's/@xstat@/stat/g' \
+ -e '/_STAT_ONLY@/d' \
+ -e '/@BEGIN_LSTAT_ONLY@/,/@END_LSTAT_ONLY@/d' \
+ $(srcdir)/xstat.in > $@-t
mv $@-t $@
# Tell versions [3.59,3.63) of GNU make to not export all variables.
diff --git a/tests/ls/Makefile.in b/tests/ls/Makefile.in
index 8738c24b5..6a7bf2e41 100644
--- a/tests/ls/Makefile.in
+++ b/tests/ls/Makefile.in
@@ -103,7 +103,7 @@ l = @l@
AUTOMAKE_OPTIONS = 1.2 gnits
-TESTS = rt-1 time-1 slashed-symlink
+TESTS = rt-1 time-1 symlink-slash
EXTRA_DIST = $(TESTS)
TESTS_ENVIRONMENT = \
top_srcdir=$(top_srcdir) \