X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Fgetdate;h=2f0fdb279c70f9ef5209326a0310be452133098e;hb=42a58fdcf2a4030789c21d3018d47cfd34050ee5;hp=77c96a7209c64b964cb42cfe0b8db0d1a81f287b;hpb=2e82f91f46dc3f93963b1e4fdcbc441c129df213;p=gnulib.git diff --git a/modules/getdate b/modules/getdate index 77c96a720..2f0fdb279 100644 --- a/modules/getdate +++ b/modules/getdate @@ -2,6 +2,7 @@ Description: Convert a date/time string to linear time. Files: +doc/getdate.texi lib/getdate.h lib/getdate.y m4/bison.m4 @@ -9,16 +10,43 @@ m4/tm_gmtoff.m4 m4/getdate.m4 Depends-on: -unlocked-io +c-ctype +stdbool +gettime +intprops +mktime +setenv +unsetenv +time +verify +xalloc configure.ac: gl_GETDATE Makefile.am: -lib_SOURCES += getdate.h getdate.y +# This rule overrides the Automake generated .y.c rule, to ensure that the +# getdate.c file gets generated in the source directory, not in the build +# directory. +getdate.c: getdate.y + $(AM_V_GEN)$(SHELL) $(YLWRAP) $(srcdir)/getdate.y \ + y.tab.c getdate.c \ + y.tab.h getdate.h \ + y.output getdate.output \ + -- $(YACC) $(YFLAGS) $(AM_YFLAGS) && \ + mv getdate.c getdate.c-t && \ + mv getdate.c-t $(srcdir)/getdate.c +lib_SOURCES += getdate.y BUILT_SOURCES += getdate.c +MOSTLYCLEANFILES += getdate.c-t MAINTAINERCLEANFILES += getdate.c +EXTRA_DIST += getdate.c Include: "getdate.h" +License: +GPL + +Maintainer: +Paul Eggert