diff options
author | Greg Troxel <gdt@ir.bbn.com> | 2009-12-02 21:39:54 +0000 |
---|---|---|
committer | Greg Troxel <gdt@ir.bbn.com> | 2009-12-02 21:39:54 +0000 |
commit | 8d86fbe73147af7ab255a86d53a66788c155c16c (patch) | |
tree | 8d47aa234769aeddaae529f6784de48c31e18a29 /maskaudit.py.in | |
parent | 7982afd77a7a9780196551fb14bc7f7f9d1ec7e7 (diff) | |
download | gpsd-8d86fbe73147af7ab255a86d53a66788c155c16c.tar.gz |
Explicitly open gps.h in @srcdir@ instead of $CWD.
Passes 'make check' and improves 'make distcheck'.
Diffstat (limited to 'maskaudit.py.in')
-rw-r--r-- | maskaudit.py.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/maskaudit.py.in b/maskaudit.py.in index 8d3bdab7..869604d1 100644 --- a/maskaudit.py.in +++ b/maskaudit.py.in @@ -14,7 +14,7 @@ class SourceExtractor: self.daemonfiles = ["gpsd.c", "libgpsd_core.c", "pseudonmea.c"] + glob.glob("driver_*.c") self.masks = [] self.primitive_masks = [] - for line in file("gps.h"): + for line in file("@srcdir@/gps.h"): if line.startswith("#define") and "_SET" in line: fields = line.split() self.masks.append((fields[1], fields[2])) |