aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2023-03-07 13:18:58 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2023-03-07 13:18:58 +0200
commit053cd4e9d35a3b3bda7884cb146236639993af43 (patch)
tree4fe7ba4d6b0649f7a558edfe7cd352636cbc2adb
parentc46f5a1b3902ca78769b2294751e3bdae9ca6b47 (diff)
Add few comments
-rw-r--r--bpkg/system-package-manager-debian.cxx9
1 files changed, 8 insertions, 1 deletions
diff --git a/bpkg/system-package-manager-debian.cxx b/bpkg/system-package-manager-debian.cxx
index c43e116..83c28e6 100644
--- a/bpkg/system-package-manager-debian.cxx
+++ b/bpkg/system-package-manager-debian.cxx
@@ -1865,6 +1865,9 @@ namespace bpkg
// to do from our side is to compile with debug information (-g), failed
// which we get a warning from debhelper.
//
+ // Note: this setup requires dpkg-dev (or build-essential) and debhelper
+ // packages.
+ //
paths system_package_manager_debian::
generate (const packages& pkgs,
const packages& deps,
@@ -2639,7 +2642,8 @@ namespace bpkg
// We could have instead called dpkg-architecture directly but seeing
// that we are also include buildflags.mk below, might as well use
// architecture.mk (in the packages that we sampled you see both
- // approaches).
+ // approaches). Note that these come in the dpkg-dev package, the same
+ // as dpkg-buildpackage.
//
os << "# DEB_HOST_* (DEB_HOST_MULTIARCH, etc)"
<< "#" << '\n'
@@ -2809,6 +2813,9 @@ namespace bpkg
// Default to the dh command sequencer.
//
+ // Note that passing --buildsystem=none doesn't seem to make any
+ // difference (other than add some noise).
+ //
os << "%:\n"
<< '\t' << "dh $@" << '\n'
<< '\n';