.
authorJim Meyering <jim@meyering.net>
Sun, 19 Dec 1999 10:22:47 +0000 (10:22 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 19 Dec 1999 10:22:47 +0000 (10:22 +0000)
lib/Makefile.in
m4/Makefile.am
m4/Makefile.in

index 808cb07..b4fc848 100644 (file)
@@ -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.
index 7923df8..d9b23d3 100644 (file)
@@ -31,6 +31,7 @@ lchown.m4 \
 lcmessage.m4 \
 link-follow.m4 \
 ls-mntd-fs.m4 \
+lstat-slash.m4 \
 lstat.m4 \
 malloc.m4 \
 memcmp.m4 \
index 81f0222..9f6e209 100644 (file)
@@ -131,6 +131,7 @@ lchown.m4 \
 lcmessage.m4 \
 link-follow.m4 \
 ls-mntd-fs.m4 \
+lstat-slash.m4 \
 lstat.m4 \
 malloc.m4 \
 memcmp.m4 \