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