make dpkg should only build binary packages
authorRuss Allbery <rra@stanford.edu>
Wed, 14 Jul 2010 19:27:30 +0000 (12:27 -0700)
committerDerrick Brashear <shadow@dementia.org>
Wed, 14 Jul 2010 23:25:46 +0000 (16:25 -0700)
The source package we would get by running dpkg-buildpackage in the
source tree without further preparation is basically useless, since
it's a native source package for a non-native package and will contain
any random dirty cruft in the current source tree.  Since the purpose
of make dpkg is to provide quick Debian packages for testing purposes,
only build the *.deb files and don't bother to build the source
package.

Change-Id: Ia2643c7e8936b15e3447df589ed0236438b8341e
Reviewed-on: http://gerrit.openafs.org/2427
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>

Makefile.in

index 06e729f..bac6755 100644 (file)
@@ -91,7 +91,7 @@ dest_only_libafs: only_libafs dest_dirs
 
 dpkg:
        ln -fs ${srcdir}/src/packaging/Debian debian
-       dpkg-buildpackage -rfakeroot -us -uc
+       dpkg-buildpackage -rfakeroot -b -us -uc
 
 packages: dest
        @case ${SYS_NAME} in \