2 Convert a date/time string to linear time.
28 # This rule overrides the Automake generated .y.c rule, to ensure that the
29 # get_date.c file gets generated in the source directory, not in the build
31 get_date.c: get_date.y
32 $(AM_V_GEN)$(SHELL) $(YLWRAP) $(srcdir)/get_date.y \
35 y.output get_date.output \
36 -- $(YACC) $(YFLAGS) $(AM_YFLAGS) && \
37 mv get_date.c get_date.c-t && \
38 mv get_date.c-t $(srcdir)/get_date.c
39 lib_SOURCES += get_date.y
40 BUILT_SOURCES += get_date.c
41 MOSTLYCLEANFILES += get_date.c-t
42 MAINTAINERCLEANFILES += get_date.c
43 EXTRA_DIST += get_date.c