vlc/vlc-3.0 | branch: master | Hugo Beauzée-Luyssen <[email protected]> | Fri Jul 13 11:54:26 2018 +0200| [970a9e9208e232e15c4f0229b115c50216181171] | committer: Steve Lhomme
extras/tools: Allow some packages to be built as dependencies only (cherry picked from commit bb69cd78d267cae0ebba119145dc0cf795abd046) (edited) edited: - this branch already had ninja and meson - this branch already created build/bin by default Signed-off-by: Steve Lhomme <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=970a9e9208e232e15c4f0229b115c50216181171 --- extras/tools/bootstrap | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/extras/tools/bootstrap b/extras/tools/bootstrap index 21ae492e51..5faffd97e2 100755 --- a/extras/tools/bootstrap +++ b/extras/tools/bootstrap @@ -146,7 +146,7 @@ check help2man check meson 0.51.1 check ninja -[ -n "$NEEDED" ] && mkdir -p build/bin && echo "To-be-built packages: $NEEDED" +DEPS_ONLY="help2man" CPUS= case `uname` in @@ -180,9 +180,18 @@ done for t in $NEEDED; do echo .$t: .build$t >> Makefile - TARGETS="$TARGETS .build$t" + case "$t" in + *$DEPS_ONLY*) + ;; # Dependency only, not build by default + *) + PACKAGES="$PACKAGES $t" + TARGETS="$TARGETS .build$t" + ;; + esac done +[ -n "$PACKAGES" ] && mkdir -p build/bin && echo "To-be-built packages: $PACKAGES" + cat >> Makefile << EOF all: $TARGETS @echo "You are ready to build VLC and its contribs" _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
