]> git.donarmstrong.com Git - debhelper.git/commitdiff
r296: * dh_builddeb: -u can be passed to this command now, followed by
authorjoey <joey>
Tue, 26 Oct 1999 17:15:52 +0000 (17:15 +0000)
committerjoey <joey>
Tue, 26 Oct 1999 17:15:52 +0000 (17:15 +0000)
     any extra parameters you want to pass to dpkg-deb (Closes: #48394)

debian/changelog
dh_builddeb
dh_builddeb.1

index 4a28531dafce124a98aa8f11da6515d39e13dc89..78ff353a2a3dd915f1095c8c1c8018bd94573b5c 100644 (file)
@@ -1,3 +1,10 @@
+debhelper (2.0.65) unstable; urgency=low
+
+  * dh_builddeb: -u can be passed to this command now, followed by
+    any extra parameters you want to pass to dpkg-deb (Closes: #48394)
+
+ -- Joey Hess <joeyh@master.debian.org>  Tue, 26 Oct 1999 10:14:57 -0700
+
 debhelper (2.0.64) unstable; urgency=low
 
   * Corrected a path name in dh_installxfonts. Closes: #48315
index a62e81cede06102d38c24909d987cfb0bdcc07a8..0822f5077a0be56657692c997fd9ba84c137af3c 100755 (executable)
@@ -1,7 +1,17 @@
-#!/bin/sh -e
+#!/usr/bin/perl -w
 #
-# Build the .deb package, assuming all the files are set up in debian/tmp.
+# Build the .deb package, assuming all the files are set up.
 
-PATH=debian:$PATH:/usr/lib/debhelper
-source dh_lib
-doit "dpkg --build debian/tmp .."
+BEGIN { push @INC, "debian", "/usr/share/debhelper" }
+use Dh_Lib;
+init();
+
+# Set the default destination directory.
+if (! defined $dh{DESTDIR}) {
+       $dh{DESTDIR}='..';
+}
+
+foreach $PACKAGE (@{$dh{DOPACKAGES}}) {
+       $TMP=tmpdir($PACKAGE);
+       doit("dpkg","--build",$TMP,$dh{DESTDIR},@{$dh{U_PARAMS}});
+}
index bfe72e7283f90df420bb59b8ea49c2eb91360beb..556b5430ea1d80b9c5b59dbd769d742497e7c64d 100644 (file)
@@ -1,39 +1,33 @@
-.TH DH_BUILDDEB 1
+.TH DH_BUILDDEB 1 "" "Debhelper Commands" "Debhelper Commands"
 .SH NAME
 dh_builddeb \- build debian packages
 .SH SYNOPSIS
 .B dh_builddeb
-.I "[-v] [-a] [-i] [-ppackage]"
+.I "[debhelper options] [--destdir=directory] [-uparams]"
 .SH "DESCRIPTION"
 dh_builddeb simply calls
 .BR dpkg (8)
 to build a .deb package or packages.
 .SH OPTIONS
 .TP
-.B \-v
-Verbose mode; show all commands that modify the package build directory, etc.
+.B debhelper options
+See
+.BR debhelper (1)
+for a list of options common to all debhelper commands.
 .TP
-.B \-a
-Build all architecture dependent packages.
+.B --destdir=directory
+Use this if you want the generated .deb files to be put in a directory other
+than the default of ".."
 .TP
-.B \-i
-Build all architecture independent packages.
-.TP
-.B \-ppackage
-Build the package named "package".
-.SH NOTES
-The
-.B \-a
-.B \-i
-and
-.B \-p
-arguments are cumulative. If none are specified, then all packages listed in
-the control file will be built.
+.B \-uparams
+Pass "params" to 
+.BR dpkg-deb (1)
+when it is used to build the package.
 .SH ENVIRONMENT
-.TP
-.I DH_VERBOSE
-Enables verbose mode
+See
+.BR debhelper (1)
+for a list of environment variables that affect all debhelper commands.
 .SH "SEE ALSO"
-.BR /usr/doc/debhelper/README
+.BR debhelper (1)
 .SH AUTHOR
 Joey Hess <joeyh@master.debian.org>