diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-11-29 12:09:50 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-11-29 12:09:50 +0200 |
commit | 7b9df435194a7916b6fa347a2186fcfb04da5413 (patch) | |
tree | 17a1f738bbe612579f34f29fa2df594f8db7d4b3 | |
parent | ad4824748f3b8757b0c82d6bfffb5c6033136a91 (diff) |
Add dist support
-rw-r--r-- | bpkg/buildfile | 60 | ||||
-rw-r--r-- | build/bootstrap.build | 5 | ||||
-rw-r--r-- | buildfile | 2 |
3 files changed, 42 insertions, 25 deletions
diff --git a/bpkg/buildfile b/bpkg/buildfile index 02fdb31..4282876 100644 --- a/bpkg/buildfile +++ b/bpkg/buildfile @@ -9,30 +9,42 @@ import libs += libbutl%lib{butl} import libs += libodb%lib{odb} import libs += libodb-sqlite%lib{odb-sqlite} -exe{bpkg}: cxx{satisfaction fetch package package-odb manifest-utility \ - database diagnostics utility} \ - cli.cxx{common-options} cxx{types-parsers} \ - cxx{bpkg} cli.cxx{bpkg-options} \ - cxx{help} cli.cxx{help-options} \ - cli.cxx{configuration-options} \ - cxx{build} cli.cxx{build-options} \ - cxx{drop} cli.cxx{drop-options} \ - cxx{pkg-command} \ - cxx{pkg-verify} cli.cxx{pkg-verify-options} \ - cxx{pkg-status} cli.cxx{pkg-status-options} \ - cxx{pkg-fetch} cli.cxx{pkg-fetch-options} \ - cxx{pkg-unpack} cli.cxx{pkg-unpack-options} \ - cxx{pkg-purge} cli.cxx{pkg-purge-options} \ - cxx{pkg-configure} cli.cxx{pkg-configure-options} \ - cxx{pkg-disfigure} cli.cxx{pkg-disfigure-options} \ - cli.cxx{pkg-update-options} \ - cli.cxx{pkg-clean-options} \ - cxx{cfg-create} cli.cxx{cfg-create-options} \ - cxx{rep-add} cli.cxx{rep-add-options} \ - cxx{rep-fetch} cli.cxx{rep-fetch-options} \ - cxx{rep-info} cli.cxx{rep-info-options} \ - cxx{rep-create} cli.cxx{rep-create-options} \ - $libs +exe{bpkg}: \ +{ hxx }{ bpkg-version } \ +{ cxx }{ bpkg } cli.cxx{ bpkg-options } \ +{ hxx cxx }{ build } cli.cxx{ build-options } \ +{ hxx cxx }{ cfg-create } cli.cxx{ cfg-create-options } \ + cli.cxx{ common-options } \ + cli.cxx{ configuration-options } \ +{ hxx cxx }{ database } \ +{ hxx cxx }{ diagnostics } \ +{ hxx cxx }{ drop } cli.cxx{ drop-options } \ +{ hxx cxx }{ fetch } \ +{ hxx }{ forward } \ +{ hxx cxx }{ help } cli.cxx{ help-options } \ +{ hxx cxx }{ manifest-utility } \ +{ hxx ixx cxx }{ package } \ +{ hxx ixx cxx }{ package-odb } file{package.xml} \ +{ hxx }{ pkg-clean } cli.cxx{ pkg-clean-options } \ +{ hxx cxx }{ pkg-command } \ +{ hxx cxx }{ pkg-configure } cli.cxx{ pkg-configure-options } \ +{ hxx cxx }{ pkg-disfigure } cli.cxx{ pkg-disfigure-options } \ +{ hxx cxx }{ pkg-fetch } cli.cxx{ pkg-fetch-options } \ +{ hxx cxx }{ pkg-purge } cli.cxx{ pkg-purge-options } \ +{ hxx cxx }{ pkg-status } cli.cxx{ pkg-status-options } \ +{ hxx cxx }{ pkg-unpack } cli.cxx{ pkg-unpack-options } \ +{ hxx }{ pkg-update } cli.cxx{ pkg-update-options } \ +{ hxx cxx }{ pkg-verify } cli.cxx{ pkg-verify-options } \ +{ hxx cxx }{ rep-add } cli.cxx{ rep-add-options } \ +{ hxx cxx }{ rep-create } cli.cxx{ rep-create-options } \ +{ hxx cxx }{ rep-fetch } cli.cxx{ rep-fetch-options } \ +{ hxx cxx }{ rep-info } cli.cxx{ rep-info-options } \ +{ hxx cxx }{ satisfaction } \ +{ hxx }{ types } \ +{ hxx cxx }{ types-parsers } \ +{ hxx cxx }{ utility } \ +{ hxx }{ wrapper-traits } \ +$libs # Option length must be the same to get commands/topics/options aligned. # diff --git a/build/bootstrap.build b/build/bootstrap.build index f8e9522..35f0dfa 100644 --- a/build/bootstrap.build +++ b/build/bootstrap.build @@ -3,4 +3,9 @@ # license : MIT; see accompanying LICENSE file project = bpkg +version = 0.1.0 + using config +using dist + +dist.package = $project-$version @@ -3,5 +3,5 @@ # license : MIT; see accompanying LICENSE file d = bpkg/ -.: $d +./: $d doc{LICENSE} file{version} include $d |