Commit 1b1e4dde authored by Brateau Etienne's avatar Brateau Etienne Committed by Jean-Baptiste Kempf
Browse files

The compilation script now applies the patches and call subscripts for HTML generation

All the patches will now be applied and the scripts to generate module list
and the main executable are now called from the compile script.
parent 362439a9
......@@ -98,6 +98,21 @@ export RANLIB=emranlib
# Check that clang is working
clang --version
diagnostic "Patching"
# patching emscripten
cd emsdk-portable/emscripten/incoming
if [ -d ../../../patch_emscripten ] && [ "$(ls -A ../../../patch_emscripten)" ]; then
git am -3 ../../../patch_emscripten/*
cd ../../..
cd vlc
# patching vlc
if [ -d ../patch_vlc ] && [ "$(ls -A ../patch_vlc)" ]; then
git am -3 ../patch_vlc/*
if [ ! -f configure ]; then
......@@ -173,3 +188,18 @@ OPTIONS="
../configure ${OPTIONS}
diagnostic "Generating module list"
cd ../..
cd vlc/build-emscripten
emcc vlc-modules.c -o vlc-modules.bc
cd ../..
# copy Dolby_Canyon.vob
diagnostic "copying video"
cp Dolby_Canyon.vob vlc/build-emscripten/Dolby_Canyon.vob
diagnostic "Generating executable"
cp main.c vlc/build-emscripten/
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment