Fix global typo in last change: use chmod u-w, not chmod u-x.
[gnulib.git] / modules / sys_stat
1 Description:
2 A <sys/stat.h> for systems with missing declarations.
3
4 Files:
5 lib/stat_.h
6 m4/absolute-header.m4
7 m4/sys_stat_h.m4
8
9 Depends-on:
10
11 configure.ac:
12 gl_HEADER_SYS_STAT_H
13
14 Makefile.am:
15 BUILT_SOURCES += $(SYS_STAT_H)
16 EXTRA_DIST += stat_.h
17
18 # We need the following in order to create <sys/stat.h> when the system
19 # has one that is incomplete.
20 sys/stat.h: stat_.h
21         test -d sys || mkdir sys
22         rm -f $@-t $@
23         sed -e 's|@''ABSOLUTE_SYS_STAT_H''@|$(ABSOLUTE_SYS_STAT_H)|g' \
24             < $(srcdir)/stat_.h > $@-t
25         chmod a-w $@-t
26         mv $@-t $@
27 MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
28 MOSTLYCLEANDIRS += sys
29
30 Include:
31 #include <sys/stat.h>
32
33 License:
34 LGPL
35
36 Maintainer:
37 Eric Blake