aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-configure-options.cli
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-09-17 14:05:22 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-09-17 14:05:22 +0200
commit7221a63204a0b2a89e1c72fcbf9f2a7de0a575a3 (patch)
treecfd02eebc09b6700441d252513f692d1a67ed34f /bpkg/pkg-configure-options.cli
parent299c4e373d2c2642a8e4c3537eb0436c5a6b9c09 (diff)
Implement pkg-{configure, disfigure} commands
Diffstat (limited to 'bpkg/pkg-configure-options.cli')
-rw-r--r--bpkg/pkg-configure-options.cli36
1 files changed, 36 insertions, 0 deletions
diff --git a/bpkg/pkg-configure-options.cli b/bpkg/pkg-configure-options.cli
new file mode 100644
index 0000000..d1850c6
--- /dev/null
+++ b/bpkg/pkg-configure-options.cli
@@ -0,0 +1,36 @@
+// file : bpkg/pkg-configure-options.cli
+// copyright : Copyright (c) 2014-2015 Code Synthesis Ltd
+// license : MIT; see accompanying LICENSE file
+
+include <bpkg/common-options.cli>;
+
+/*
+"\section=1"
+"\name=bpkg-pkg-configure"
+
+"\h{SYNOPSIS}
+
+bpkg pkg-configure <pkg> [<conf-vars>]"
+
+"\h{DESCRIPTION}
+
+The \cb{pkg-configure} command configures the output directory for
+the previously unpacked (\cb{pkg-unpack}) package. The package
+inherits the common \cb{build2} configuration values that were
+specified when creating the \cb{bpkg} configuration (\cb{cfg-create}).
+Additional, package-specific configuration variables can be specified
+after the package name."
+*/
+
+namespace bpkg
+{
+ class pkg_configure_options: common_options
+ {
+ dir_path --directory|-d (".")
+ {
+ "<dir>",
+ "Assume configuration is in <dir> rather than in the current working
+ directory."
+ };
+ };
+}