consistently remove $@-t before redirecting to it
[gnulib.git] / modules / glob
1 Description:
2 glob() function: Search for files and directories with paths matching a
3 pattern, with GNU extensions.
4
5 Files:
6 lib/glob.in.h
7 lib/glob-libc.h
8 lib/glob.c
9 m4/glob.m4
10
11 Depends-on:
12 alloca
13 d-type
14 dirfd
15 extensions
16 fnmatch
17 getlogin_r
18 memchr
19 mempcpy
20 stdbool
21 strdup
22 sys_stat
23 unistd
24 malloc-posix
25
26 configure.ac:
27 gl_GLOB
28
29 Makefile.am:
30 BUILT_SOURCES += $(GLOB_H)
31
32 # We need the following in order to create <glob.h> when the system
33 # doesn't have one that works with the given compiler.
34 glob.h: glob.in.h
35         rm -f $@-t $@
36         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
37           sed -e 's|@''HAVE_SYS_CDEFS_H''@|$(HAVE_SYS_CDEFS_H)|g' \
38               < $(srcdir)/glob.in.h; \
39         } > $@-t
40         mv -f $@-t $@
41 MOSTLYCLEANFILES += glob.h glob.h-t
42
43 Include:
44 <glob.h>
45
46 License:
47 LGPLv2+
48
49 Maintainer:
50 all, glibc