Andreas Metzler wrote... > The best replacement for autogen's AutoOpts part I know (but I do not > know everything) is the toolchain gnutls upstream built for their > conversion: > 1. One-time onversion of .def to json with > https://gitlab.com/dueno/parse-autogen and some handholding.
That should be doable, however upstream might want to discuss this. > 2. Build-time generation from json input of option-parser and docs with > https://gitlab.com/gnutls/cligen (python). That bit leaves me a bit in confusion - for a build-time job I'll need cligen via a build dependency - but AFAICS that program is not packaged in Debian¹. Including a code copy, nope. So perhaps gnutls should ship it as it's already in the sources there? I happen to know at least some gnutls Debian maintainers are reading this :) Christoph ¹ https://packages.debian.org/search?searchon=contents&keywords=cligen&mode=exactfilename&suite=unstable&arch=any
signature.asc
Description: PGP signature