mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-15 11:29:56 +00:00
debian: add a makefile rule to install build deps
This commit is contained in:
parent
0a00e7e5eb
commit
fa4e329847
5
debian/rules
vendored
5
debian/rules
vendored
@ -94,6 +94,11 @@ debian/.stamp-bootstrap:
|
|||||||
(cd debian && ./bootstrap.sh)
|
(cd debian && ./bootstrap.sh)
|
||||||
touch $@
|
touch $@
|
||||||
|
|
||||||
|
build-depends: debian/.stamp-build-depends
|
||||||
|
debian/.stamp-build-depends:
|
||||||
|
./debian/util.sh install-build-depends
|
||||||
|
touch $@
|
||||||
|
|
||||||
binary-basetest:
|
binary-basetest:
|
||||||
@$(call show_vars)
|
@$(call show_vars)
|
||||||
echo "applications/mod_commands" > debian/modules.conf
|
echo "applications/mod_commands" > debian/modules.conf
|
||||||
|
1
debian/util.sh
vendored
1
debian/util.sh
vendored
@ -67,6 +67,7 @@ install_build_depends () {
|
|||||||
err "Can't find apt-get or aptitude; are you running on debian?"
|
err "Can't find apt-get or aptitude; are you running on debian?"
|
||||||
fi
|
fi
|
||||||
$apt install -y $(list_build_depends)
|
$apt install -y $(list_build_depends)
|
||||||
|
touch $ddir/.stamp-build-depends
|
||||||
}
|
}
|
||||||
|
|
||||||
cmd="$1"
|
cmd="$1"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user