glob: merge from glibc with Zanella glob changes
[gnulib.git] / modules / parse-datetime
blob5dc6d4510613b114a20bb55dd279f95a30e5a81f
1 Description:
2 Convert a date/time string to linear time.
4 Files:
5 doc/parse-datetime.texi
6 lib/parse-datetime.h
7 lib/parse-datetime.y
8 m4/bison.m4
9 m4/tm_gmtoff.m4
10 m4/parse-datetime.m4
12 Depends-on:
13 c-ctype
14 stdbool
15 gettime
16 gettext-h
17 intprops
18 inttypes
19 mktime
20 setenv
21 strftime
22 unsetenv
23 time
24 time_r
25 time_rz
26 timegm
27 verify
29 configure.ac:
30 gl_PARSE_DATETIME
32 Makefile.am:
33 # This rule overrides the Automake generated .y.c rule, to ensure that the
34 # parse-datetime.c file gets generated in the source directory, not in the
35 # build directory.
36 parse-datetime.c: parse-datetime.y
37         $(AM_V_GEN)$(SHELL) $(YLWRAP) $(srcdir)/parse-datetime.y \
38                                       y.tab.c parse-datetime.c \
39                                       y.tab.h parse-datetime.h \
40                                       y.output parse-datetime.output \
41                                       -- $(YACC) $(YFLAGS) $(AM_YFLAGS) && \
42         sed -e 's|".*/parse-datetime.y"|"parse-datetime.y"|' \
43          < parse-datetime.c > parse-datetime.c-t && \
44         rm -f parse-datetime.c && \
45         mv parse-datetime.c-t $(srcdir)/parse-datetime.c
46 lib_SOURCES += parse-datetime.y
47 BUILT_SOURCES += parse-datetime.c
48 MOSTLYCLEANFILES += parse-datetime.c-t
49 MAINTAINERCLEANFILES += parse-datetime.c
50 EXTRA_DIST += parse-datetime.c
52 Include:
53 "parse-datetime.h"
55 License:
56 LGPLv2+
58 Maintainer:
59 Paul Eggert