summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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