projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
.
[gnulib.git]
/
lib
/
Makefile.am
diff --git
a/lib/Makefile.am
b/lib/Makefile.am
index
3aff9e6
..
f58efe5
100644
(file)
--- a/
lib/Makefile.am
+++ b/
lib/Makefile.am
@@
-29,12
+29,23
@@
version-etc.h xalloc.h xstrtol.h
BUILT_SOURCES = getdate.c lstat.c stat.c
MAINTAINERCLEANFILES = $(BUILT_SOURCES)
BUILT_SOURCES = getdate.c lstat.c stat.c
MAINTAINERCLEANFILES = $(BUILT_SOURCES)
+DISTCLEANFILES = lstat.c stat.c
EXTRA_DIST = xstat.in
lstat.c: xstat.in
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
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 $@
mv $@-t $@