changeset 2042:210cdda9d73d

.
author Jim Meyering <jim@meyering.net>
date Sun, 19 Dec 1999 10:22:47 +0000
parents e45e2d97da8d
children 3002e3481ea1
files lib/Makefile.in m4/Makefile.am m4/Makefile.in
diffstat 3 files changed, 14 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lib/Makefile.in
+++ b/lib/Makefile.in
@@ -656,11 +656,21 @@
 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.
--- a/m4/Makefile.am
+++ b/m4/Makefile.am
@@ -31,6 +31,7 @@
 lcmessage.m4 \
 link-follow.m4 \
 ls-mntd-fs.m4 \
+lstat-slash.m4 \
 lstat.m4 \
 malloc.m4 \
 memcmp.m4 \
--- a/m4/Makefile.in
+++ b/m4/Makefile.in
@@ -131,6 +131,7 @@
 lcmessage.m4 \
 link-follow.m4 \
 ls-mntd-fs.m4 \
+lstat-slash.m4 \
 lstat.m4 \
 malloc.m4 \
 memcmp.m4 \