1MK-BUILD-DEPS(1) MK-BUILD-DEPS(1)
2
3
4
6 mk-build-deps - build a package satisfying a package's
7 build-dependencies
8
10 mk-build-deps --help|--version
11
12 mk-build-deps [options] control file | package name ...
13
15 Given a package name and/or control file, mk-build-deps will use equivs
16 to generate a binary package which may be installed to satisfy all the
17 build dependencies of the given package.
18
19 If --build-dep and/or --build-indep are given, then the resulting
20 binary package(s) will depend solely on the
21 Build-Depends/Build-Depends-Indep dependencies, respectively.
22
24 -i, --install
25 Install the generated packages and its build-dependencies.
26
27 -t, --tool
28 When installing the generated package use the specified tool.
29 (default: apt-get -o Debug::pkgProblemResolver=yes
30 --no-install-recommends)
31
32 -r, --remove
33 Remove the package file after installing it. Ignored if used
34 without the --install switch.
35
36 -a foo, --arch foo
37 Set the architecture of the produced binary package to foo. If this
38 option is not given, fall back to the value given by --host-arch.
39 If neither this option nor --host-arch are given but the Build-
40 Depends contain architecture restrictions, use the value printed by
41 `dpkg-architecture -qDEB_HOST_ARCH`. Otherwise, use all.
42
43 The package architecture must be equal to the host architecture
44 except if the package architecture is all.
45
46 The package architecture cannot be all if the build and host
47 architecture differ.
48
49 --host-arch foo
50 Set the host architecture the binary package is built for. This
51 defaults to the value printed by `dpkg-architecture
52 -qDEB_HOST_ARCH`. Use this option to create a binary package that
53 is able to satisfy crossbuild dependencies.
54
55 If this option is used together with --arch, then they must be
56 equal except if the value of --arch is all.
57
58 If --arch is not given, then this option also sets the package
59 architecture.
60
61 --build-arch foo
62 Set the build architecture the binary package is built for. This
63 defaults to the value printed by `dpkg-architecture
64 -qDEB_BUILD_ARCH`. Use this option to create a binary package that
65 is able to satisfy crossbuild dependencies.
66
67 -B, --build-dep
68 Generate a package which only depends on the source package's
69 Build-Depends dependencies.
70
71 -A, --build-indep
72 Generate a package which only depends on the source package's
73 Build-Depends-Indep dependencies.
74
75 -h, --help
76 Show a summary of options.
77
78 -v, --version
79 Show version and copyright information.
80
81 -s, --root-cmd
82 Use the specified tool to gain root privileges before installing.
83 Ignored if used without the --install switch.
84
86 mk-build-deps is copyright by Vincent Fourmond and was modified for the
87 devscripts package by Adam D. Barratt <adam@adam-barratt.org.uk>.
88
89 This program comes with ABSOLUTELY NO WARRANTY. You are free to
90 redistribute this code under the terms of the GNU General Public
91 License, version 2 or later.
92
93
94
95Debian Utilities 2018-12-10 MK-BUILD-DEPS(1)