#!/usr/bin/python import sys import json import re def main(args): _parse_args(args) json.dump(parse_make_p(sys.stdin), sys.stdout) def parse_make_p(fp, graphs=None): if graphs is None: graphs = [] for l in fp: if l.startswith('# Make data base, printed on '): graphs.append(_parse_db(fp)) if not graphs: raise ValueError("{} seems not connected to `LANG=C make -p`".format(fp)) return graphs def _pa
{{#tags}}- {{label}}
{{/tags}}