diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-09-17 14:05:22 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-09-17 14:05:22 +0200 |
commit | 7221a63204a0b2a89e1c72fcbf9f2a7de0a575a3 (patch) | |
tree | cfd02eebc09b6700441d252513f692d1a67ed34f /bpkg/package | |
parent | 299c4e373d2c2642a8e4c3537eb0436c5a6b9c09 (diff) |
Implement pkg-{configure, disfigure} commands
Diffstat (limited to 'bpkg/package')
-rw-r--r-- | bpkg/package | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/bpkg/package b/bpkg/package index 48b7ec8..f2c9b9a 100644 --- a/bpkg/package +++ b/bpkg/package @@ -108,7 +108,7 @@ namespace bpkg // be false. // optional<path> archive; - bool archive_purge; + bool purge_archive; // Path to the source directory of this package, if any. If not // absolute, then it is relative to the configuration directory. @@ -116,8 +116,17 @@ namespace bpkg // removed when the packaged is purged. If the source directory // is not present, it should be false. // - optional<dir_path> source; - bool source_purge; + optional<dir_path> src_root; + bool purge_src; + + // Path to the output directory of this package, if any. It is + // always relative to the configuration directory and currently + // is always <name>-<version>. It is only set once the package + // is configured and its main purse is to keep track of what + // needs to be cleaned by the user before a broken package can + // be purged. Note that it could be the same as out_root. + // + optional<dir_path> out_root; // Database mapping. // |