[PATCH 4 of 4] builddeb: actually run make when building the deb (issue4778)

Augie Fackler raf at durin42.com
Thu Aug 27 16:22:03 CDT 2015


# HG changeset patch
# User Augie Fackler <augie at google.com>
# Date 1440475112 14400
#      Mon Aug 24 23:58:32 2015 -0400
# Node ID 6209b2def9d873bb33aaff941fee4b8ca2be1e7d
# Parent  ad63d0dc43b2062fbc8ef4bbd9bcd40dceec7161
builddeb: actually run make when building the deb (issue4778)

As of this change, we no longer produce broken debs, but I've already
got followups written that will produce much more standard-looking
packages and test the resulting packages.

diff --git a/contrib/builddeb b/contrib/builddeb
--- a/contrib/builddeb
+++ b/contrib/builddeb
@@ -49,6 +49,7 @@ sed "s/__VERSION__/$version/" < $control
 mv $control.tmp $control
 
 if [ "$BUILD" ]; then
+    make PREFIX=$DEBBUILDDIR/usr install
     dpkg-deb --build $DEBBUILDDIR
     mv $DEBBUILDDIR.deb $DEBBUILDDIR/mercurial-$version-$release.deb
     if [ $? = 0 ]; then


More information about the Mercurial-devel mailing list