| Description: |
| Convert a date/time string to linear time. |
| |
| Files: |
| doc/parse-datetime.texi |
| lib/parse-datetime.h |
| lib/parse-datetime.y |
| m4/bison.m4 |
| m4/tm_gmtoff.m4 |
| m4/parse-datetime.m4 |
| |
| Depends-on: |
| c-ctype |
| stdbool |
| gettime |
| gettext-h |
| intprops |
| inttypes |
| mktime |
| nstrftime |
| setenv |
| unsetenv |
| time |
| time_r |
| time_rz |
| timegm |
| verify |
| |
| configure.ac: |
| gl_PARSE_DATETIME |
| |
| Makefile.am: |
| # The Automake generated .y.c rule is broken: When executed in a VPATH build, |
| # - The .c file gets generated in the build directory. But since it requires |
| # special tools to rebuild it, we need to distribute it in the tarballs, |
| # and by the GNU Coding Standards |
| # <https://www.gnu.org/prep/standards/html_node/Makefile-Basics.html> |
| # the file should be generated in the source directory. |
| # - The #line numbers in the .c file refer to a nonexistent file once it |
| # has been moved from the build directory to the source directory. This |
| # leads to error if 'lcov' is used later. |
| # Additionally, here we assume GNU Bison and therefore don't need the ylwrap |
| # script. |
| # Therefore we override this rule. |
| parse-datetime.c: parse-datetime.y |
| $(AM_V_YACC)$(PARSE_DATETIME_BISON) -d $(YFLAGS) $(AM_YFLAGS) $(srcdir)/parse-datetime.y \ |
| && sed -e 's|".*/parse-datetime.y"|"parse-datetime.y"|' < parse-datetime.tab.c > parse-datetime.c-t \ |
| && rm -f parse-datetime.tab.c parse-datetime.tab.h \ |
| && mv parse-datetime.c-t $(srcdir)/parse-datetime.c |
| lib_SOURCES += parse-datetime.y |
| BUILT_SOURCES += parse-datetime.c |
| MOSTLYCLEANFILES += parse-datetime.tab.c parse-datetime.tab.h parse-datetime.c-t |
| MAINTAINERCLEANFILES += parse-datetime.c |
| EXTRA_DIST += parse-datetime.c |
| |
| Include: |
| "parse-datetime.h" |
| |
| License: |
| LGPLv2+ |
| |
| Maintainer: |
| Paul Eggert |