From: Jim Meyering Date: Sun, 19 Dec 1999 10:46:19 +0000 (+0000) Subject: (lstat.c): Adapt rule to handle new parts of xstat.in. X-Git-Tag: FILEUTILS-4_0l~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b04f00f3d4f5312446ca462fd55da85729849e33;p=thirdparty%2Fcoreutils.git (lstat.c): Adapt rule to handle new parts of xstat.in. (lstat.c): Likewise. --- diff --git a/lib/Makefile.am b/lib/Makefile.am index eb57cef8ce..f58efe5682 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -33,9 +33,19 @@ DISTCLEANFILES = lstat.c stat.c EXTRA_DIST = xstat.in 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 $@