consistently remove $@-t before redirecting to it
[gnulib.git] / modules / fnmatch
1 Description:
2 fnmatch() function: wildcard matching.
3
4 Files:
5 lib/fnmatch.in.h
6 lib/fnmatch.c
7 lib/fnmatch_loop.c
8 m4/mbstate_t.m4
9 m4/fnmatch.m4
10
11 Depends-on:
12 extensions
13 alloca
14 stdbool
15 wchar
16 wctype
17 memchr
18 memcmp
19 mbsrtowcs
20 mbsinit
21
22 configure.ac:
23 gl_FUNC_FNMATCH_POSIX
24
25 Makefile.am:
26 BUILT_SOURCES += $(FNMATCH_H)
27
28 # We need the following in order to create <fnmatch.h> when the system
29 # doesn't have one that supports the required API.
30 fnmatch.h: fnmatch.in.h
31         rm -f $@-t $@
32         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
33           cat $(srcdir)/fnmatch.in.h; \
34         } > $@-t
35         mv -f $@-t $@
36 MOSTLYCLEANFILES += fnmatch.h fnmatch.h-t
37
38 Include:
39 <fnmatch.h>
40
41 License:
42 LGPLv2+
43
44 Maintainer:
45 all, glibc