builddeb: actually run make when building the deb (issue4778)
authorAugie Fackler <augie@google.com>
Mon, 24 Aug 2015 23:58:32 -0400
changeset 26090 e5f2a2a095cb
parent 26089 01d8db874abf
child 26091 60bbd4f9abd1
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.
contrib/builddeb
--- 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