projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb17b99
)
(lstat.c): Add rule to generate this from xstat.in.
author
Jim Meyering
<jim@meyering.net>
Sat, 12 Dec 1998 05:46:02 +0000
(
05:46
+0000)
committer
Jim Meyering
<jim@meyering.net>
Sat, 12 Dec 1998 05:46:02 +0000
(
05:46
+0000)
(stat.c): Likewise.
lib/Makefile.am
patch
|
blob
|
history
diff --git
a/lib/Makefile.am
b/lib/Makefile.am
index ba559028973e34aef4929ca3daa94963da5bf4b0..576d6f00b7a8ffc59ff67b338445ac6644941089 100644
(file)
--- a/
lib/Makefile.am
+++ b/
lib/Makefile.am
@@
-24,4
+24,12
@@
makepath.h modechange.h mountlist.h hash.h path-concat.h pathmax.h \
posixtm.h quotearg.h regex.h safe-read.h save-cwd.h savedir.h strverscmp.h \
xalloc.h xstrtol.h xstrtoul.h
-BUILT_SOURCES = getdate.c
+BUILT_SOURCES = getdate.c lstat.c stat.c
+
+lstat.c: xstat.in
+ sed -e '/@IGNORE@/d' -e 's/@xstat@/lstat/g' $(srcdir)/xstat.in > $@-t
+ mv $@-t $@
+
+stat.c: xstat.in
+ sed -e '/@IGNORE@/d' -e 's/@xstat@/stat/g' $(srcdir)/xstat.in > $@-t
+ mv $@-t $@