diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2022-11-10 15:56:59 +0100 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2022-11-10 16:16:41 +0100 |
commit | 78c51ae888d8e7bf6a0c77d905179b30eaf54d8c (patch) | |
tree | 5a03890ef9accd3e289dd2ab9c83d49528d41c02 | |
parent | 74fe51ef8e9cd3fa9dc3df4a1be98cba64051a76 (diff) | |
download | justbuild-78c51ae888d8e7bf6a0c77d905179b30eaf54d8c.tar.gz |
Move documentation of git2 options to export target
In this way, they can be more easily found using the standard
just-mr --main com_github_libgit2_libgit2 describe '' git2
instead of searching for the documentation file next to the
targets files in the import directory.
-rw-r--r-- | etc/import/TARGETS.git2 | 39 | ||||
-rw-r--r-- | etc/import/libgit2.org | 47 |
2 files changed, 39 insertions, 47 deletions
diff --git a/etc/import/TARGETS.git2 b/etc/import/TARGETS.git2 index 9ea458a8..69bbf9ce 100644 --- a/etc/import/TARGETS.git2 +++ b/etc/import/TARGETS.git2 @@ -1,6 +1,7 @@ { "git2": { "type": "export" , "target": "git2configured" + , "doc": ["The Git linkable library"] , "flexible_config": [ "OS" , "ARCH" @@ -28,6 +29,44 @@ , "USE_HTTP_PARSER" , "USE_BUNDLED_ZLIB" ] + , "config_doc": + { "REGEX_BACKEND": + [ "\"regcomp_l\": compile against regcomp_l (always from system)" + , "\"regcomp\": compile against regcomp (always from system)" + , "\"pcre\": link against libpcre (from system or open name)" + , "\"pcre2\": link against libpcre2 (from system or open name)" + , "\"builtin\"|null: compile and link bundled pcre (./deps/pcre)" + ] + , "USE_GSSAPI": + [ "true: use \"GSS.framework\" for ~OS==\"darwin\"~ or else \"gssapi\"" + , "false: Disable GSS" + , "\"GSS.framework\": Link against GSS framework (system or open name)" + , "\"gssapi\": Link against libgssapi (system or open name)" + ] + , "USE_HTTPS": + [ "true: use \"WinHTTP\" if ~WINHTTP~ and ~OS==\"windows\"~" + , "\"SecureTransport\": link against Security framework (from system or open name)" + , "\"WinHTTP\": link against Windows' libwinhttp (always from system)" + , "\"OpenSSL\": link against OpenSSL (from system or open name)" + , "\"mbedTLS\": link against mbedTLS (from system or open name)" + , "false|null: Disable HTTPS" + ] + , "USE_HTTP_PARSER": + [ "\"system\": link against libhttp_parser (from system or open name)" + , "<other>: compile and link bundled http_parser (./deps/http-parser)" + ] + , "USE_SHA1": + [ "true: use \"CollisionDetection\"" + , "\"CollisionDetection\": build with shipped SHA1DC implementation" + , "\"OpenSSL\": link against OpenSSL compat library (from system or open name)" + , "\"mbedTLS\": link against mbedTLS (from system or open name)" + , "\"Win32\": link against Windows' SHA1 implementation (always from system)" + , "\"CommonCrypto\": build with shipped common_crypto implementation" + , "\"Generic\": build with shipped SHA1 implementation" + , "\"HTTPS\": inherit from ~USE_HTTPS~, or fall back to \"CollisionDetection\"" + ] + , "WINHTTP": ["boolean. use \"WinHTTP\" if \"USE_HTTPS\" is true"] + } } , "git2configured": { "type": "configure" diff --git a/etc/import/libgit2.org b/etc/import/libgit2.org deleted file mode 100644 index 3f0d9a1c..00000000 --- a/etc/import/libgit2.org +++ /dev/null @@ -1,47 +0,0 @@ -* Options - - ~USE_SYSTEM_LIBS~ = true|false - - true: link against libs from system's ambient environment - - false: link against libs open repository name - - ~DEBUG_POOL~ = true|false: Debug pool allocator - - ~ENABLE_TRACE~ = true|false: Tracing support - - ~THEADSAFE~ = true|false: - - ~USE_ICONV~ = true|false: - - ~USE_NSEC~ = true|false: - - ~USE_NTLMCLIENT~ = true|false: - - ~USE_SSH~ = true|false - - true: link against libssh2 (from system or open name) - - false: no SSH support - - ~USE_GSSAPI~ = true|false|"GSS.framework"|"gssapi" - - true: use "GSS.framework" for ~OS=="darwin"~ or else "gssapi" - - false: Disable GSS - - "GSS.framework": Link against GSS framework (system or open name) - - "gssapi": Link against libgssapi (system or open name) - - ~USE_SHA1~ = true|"CollisionDetection"|"OpenSSL"|"mbedTLS"|"Win32"|"CommonCrypto"|"Generic"|"HTTPS" - - true: use "CollisionDetection" - - "CollisionDetection": build with shipped SHA1DC implementation - - "OpenSSL": link against OpenSSL compat library (from system or open name) - - "mbedTLS": link against mbedTLS (from system or open name) - - "Win32": link against Windows' SHA1 implementation (always from system) - - "CommonCrypto": build with shipped common_crypto implementation - - "Generic": build with shipped SHA1 implementation - - "HTTPS": inherit from ~USE_HTTPS~, or fall back to "CollisionDetection" - - ~WINHTTP~ = true|false: use "WinHTTP" if ~USE_HTTPS==true~ - - ~USE_HTTPS~ = true|"SecureTransport"|"WinHTTP"|"OpenSSL"|"embedTLS"|false|null - - true: use "WinHTTP" if ~WINHTTP~ and ~OS=="windows"~ - - "SecureTransport": link against Security framework (from system or open name) - - "WinHTTP": link against Windows' libwinhttp (always from system) - - "OpenSSL": link against OpenSSL (from system or open name) - - "mbedTLS": link against mbedTLS (from system or open name) - - false|null: Disable HTTPS - - ~USE_HTTP_PARSER~ = "system"|<other> - - "system": link against libhttp_parser (from system or open name) - - <other>: compile and link bundled http_parser (./deps/http-parser) - - ~USE_BUNDLED_ZLIB~ = true|false - - true: compile and link bundled zlib (./deps/zlib) - - false: link against libz (from system or open name) - - ~REGEX_BACKEND~ = "regcomp_l"|"pcre"|"pcre2"|"builtin"|null - - "regcomp_l": compile against regcomp_l (always from system) - - "regcomp": compile against regcomp (always from system) - - "pcre": link against libpcre (from system or open name) - - "pcre2": link against libpcre2 (from system or open name) - - "builtin"|null: compile and link bundled pcre (./deps/pcre) |