aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-configure.cli
blob: 27977d7f76738d1707c08c6b28202f1fe6021be6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
// file      : bpkg/pkg-configure.cli
// copyright : Copyright (c) 2014-2018 Code Synthesis Ltd
// license   : MIT; see accompanying LICENSE file

include <bpkg/configuration.cli>;

"\section=1"
"\name=bpkg-pkg-configure"
"\summary=configure package"

namespace bpkg
{
  {
    "<options> <pkg> <cfg-var>",

    "\h|SYNOPSIS|

     \c{\b{bpkg pkg-configure} [<options>] [<cfg-var>...] <pkg>}

     \h|DESCRIPTION|

     The \cb{pkg-configure} command configures either the previously unpacked
     (\l{bpkg-pkg-unpack(1)}, \l{bpkg-pkg-checkout(1)}) source code package or
     a package that is present in the system.

     A source code package inherits the common \cb{build2} configuration
     values that were specified when creating the configuration
     (\l{bpkg-cfg-create(1)}). Additional, package-specific configuration
     variables can be specified before the package name.

     A system package is specified using the \c{\b{sys:}<pkg>[/<ver>]}
     syntax. If the package version (<ver>) is not specified, then it is
     considered to be unknown but satisfying any dependency constraint. Such a
     version is displayed as \cb{*}."
  }

  class pkg_configure_options: configuration_options
  {
    "\h|PKG-CONFIGURE OPTIONS|"
  };
}