Patchwork [2,of,9,debian-packaging] builddeb: actually run make when building the deb (issue4778)

login
register
mail settings
Submitter Augie Fackler
Date Aug. 26, 2015, 7:08 p.m.
Message ID <b3df36bd5f355272a213.1440616123@arthedain.pit.corp.google.com>
Download mbox | patch
Permalink /patch/10285/
State Superseded
Commit e5f2a2a095cb1f623f4439c3e2183a901f7e6571
Headers show

Comments

Augie Fackler - Aug. 26, 2015, 7:08 p.m.
# HG changeset patch
# User Augie Fackler <augie@google.com>
# Date 1440475112 14400
#      Mon Aug 24 23:58:32 2015 -0400
# Node ID b3df36bd5f355272a213c7cefd69bcaff604037c
# Parent  6975825e2844a22f35eb4935052d7aa95b958939
builddeb: actually run make when building the deb (issue4778)

Patch

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