summaryrefslogtreecommitdiff
path: root/dgit-user.7.pod
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2018-01-06 01:33:00 +0000
committerIan Jackson <ijackson@chiark.greenend.org.uk>2018-01-06 01:33:26 +0000
commitb0f8410e806cdd326a7ebb6654f6fb8a47bc739c (patch)
tree4f5da896dd0aa624193ad89efcbb6f38c8493426 /dgit-user.7.pod
parent1496d006a79eeeed4db2a444e3ad8b7bc1f7e4c1 (diff)
dgit-user(7): Recommend mk-build-deps rather than apt-get build-dep.
Closes:#863361. Suggested-by: Nikolaus Rath <Nikolaus@rath.org> Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'dgit-user.7.pod')
-rw-r--r--dgit-user.7.pod8
1 files changed, 2 insertions, 6 deletions
diff --git a/dgit-user.7.pod b/dgit-user.7.pod
index c33cf30..c74396a 100644
--- a/dgit-user.7.pod
+++ b/dgit-user.7.pod
@@ -35,7 +35,7 @@ or L<dgit(1)> and L<dgit(7)>.
% curl 'https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=28250;mbox=yes;msg=89' | patch -p1 -u
% git commit -a -m 'Fix libc lost output bug'
% gbp dch -S --since=dgit/dgit/sid --ignore-branch --commit
- % sudo apt-get build-dep glibc
+ % mk-build-deps --root-cmd=sudo --install
% dpkg-buildpackage -uc -b
% sudo dpkg -i ../libc6_*.deb
@@ -288,15 +288,11 @@ a complete treatment is beyond the scope of this tutorial.
=over 4
- % sudo apt-get build-dep glibc
+ % mk-build-deps --root-cmd=sudo --install
% dpkg-buildpackage -uc -b
=back
-apt-get build-dep installs the build dependencies according to the
-official package, not your modified one. So if you've changed the
-build dependencies you might have to install some of them by hand.
-
dpkg-buildpackage is the primary tool for building a Debian source
package.
C<-uc> means not to pgp-sign the results.