File: getdate

package info (click to toggle)
gnulib 20100704%2Bstable-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 52,504 kB
  • ctags: 17,021
  • sloc: ansic: 198,371; sh: 19,713; yacc: 1,219; cpp: 1,048; perl: 774; lisp: 271; makefile: 192; java: 5
file content (52 lines) | stat: -rw-r--r-- 1,014 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
Description:
Convert a date/time string to linear time.

Files:
doc/getdate.texi
lib/getdate.h
lib/getdate.y
m4/bison.m4
m4/tm_gmtoff.m4
m4/getdate.m4

Depends-on:
c-ctype
stdbool
gettime
intprops
mktime
setenv
unsetenv
time
verify
xalloc

configure.ac:
gl_GETDATE

Makefile.am:
# 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