From 854c668b5e63e26a9d7a6e55226a0940638e0453 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 9 Feb 2023 15:46:32 +0200 Subject: Add pkg-bindist command (generate binary distribution package) This commit includes an implementation for Debian and alike. --- bpkg/pkg-bindist.hxx | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 bpkg/pkg-bindist.hxx (limited to 'bpkg/pkg-bindist.hxx') diff --git a/bpkg/pkg-bindist.hxx b/bpkg/pkg-bindist.hxx new file mode 100644 index 0000000..3a756f8 --- /dev/null +++ b/bpkg/pkg-bindist.hxx @@ -0,0 +1,27 @@ +// file : bpkg/pkg-bindist.hxx -*- C++ -*- +// license : MIT; see accompanying LICENSE file + +#ifndef BPKG_PKG_BINDIST_HXX +#define BPKG_PKG_BINDIST_HXX + +#include +#include + +#include +#include + +namespace bpkg +{ + // Note that for now it doesn't seem we need to bother with package- + // specific configuration variables so it's scanner instead of + // group_scanner. + // + int + pkg_bindist (const pkg_bindist_options&, cli::scanner&); + + pkg_bindist_options + merge_options (const default_options&, + const pkg_bindist_options&); +} + +#endif // BPKG_PKG_BINDIST_HXX -- cgit v1.1