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.
--- a/contrib/builddeb Mon Aug 24 23:47:43 2015 -0400
+++ b/contrib/builddeb Mon Aug 24 23:58:32 2015 -0400
@@ -49,6 +49,7 @@
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