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