summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-01-19 16:24:32 -0500
committerEric S. Raymond <esr@thyrsus.com>2011-01-19 16:24:32 -0500
commit24d6e34c8453ab84d338a23d3c16dacc692eb793 (patch)
treec45e1d326ccb617c1481b6d9fe34ee1bb081ac31
parentf6a463bd47b8f3149a9fdba5e02383ae1bc4e4da (diff)
downloadgpsd-24d6e34c8453ab84d338a23d3c16dacc692eb793.tar.gz
Clean up the naming and data flow around generation of leapcheck.h.
-rw-r--r--Makefile.am14
-rw-r--r--leapseconds.cache (renamed from leapcheck.i)0
2 files changed, 8 insertions, 6 deletions
diff --git a/Makefile.am b/Makefile.am
index 93e9e2e4..91aeed14 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -244,12 +244,14 @@ gpsd_maskdump.c: gpsd.h maskaudit.py
$(PYTHON) maskaudit.py -d >gpsd_maskdump.c && \
chmod a-w gpsd_maskdump.c
-leapcheck.h: leapsecond.py #leapcheck.i
- $(PYTHON) leapsecond.py -h leapcheck.i >leapcheck.h
-
-# This gets kept in the repo so we can build without Internet access
-leapcheck.i: leapsecond.py
- $(PYTHON) leapsecond.py -f leapcheck.i
+leapcheck.h: leapsecond.py #leapseconds.i
+ $(PYTHON) leapsecond.py -h leapseconds.cache >leapcheck.h
+
+# leapseconds.cache is a local cache for information on leapseconds issued
+# by the U.S. Naval observatory. # It gets kept in the reposiory so we can
+# build without Internet access
+leapseconds.cacche: leapsecond.py
+ $(PYTHON) leapsecond.py -f leapseconds.cache
libgps_la_SOURCES = $(libgps_c_sources)
diff --git a/leapcheck.i b/leapseconds.cache
index 0c01c93c..0c01c93c 100644
--- a/leapcheck.i
+++ b/leapseconds.cache