mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Copy demos to SRS release
This commit is contained in:
parent
5e6fe49da1
commit
dea6136238
2 changed files with 5 additions and 14 deletions
5
trunk/configure
vendored
5
trunk/configure
vendored
|
@ -592,7 +592,12 @@ install:
|
||||||
@mkdir -p \$(__REAL_INSTALL)
|
@mkdir -p \$(__REAL_INSTALL)
|
||||||
@echo "Now make the http root dir"
|
@echo "Now make the http root dir"
|
||||||
@mkdir -p \$(__REAL_INSTALL)/objs/nginx/html
|
@mkdir -p \$(__REAL_INSTALL)/objs/nginx/html
|
||||||
|
@cp -f research/api-server/static-dir/index.html \$(__REAL_INSTALL)/objs/nginx/html
|
||||||
@cp -f research/api-server/static-dir/crossdomain.xml \$(__REAL_INSTALL)/objs/nginx/html
|
@cp -f research/api-server/static-dir/crossdomain.xml \$(__REAL_INSTALL)/objs/nginx/html
|
||||||
|
@cp -f research/api-server/static-dir/favicon.ico \$(__REAL_INSTALL)/objs/nginx/html
|
||||||
|
@cp -Rf research/players \$(__REAL_INSTALL)/objs/nginx/html/
|
||||||
|
@cp -Rf research/console \$(__REAL_INSTALL)/objs/nginx/html/
|
||||||
|
@cp -Rf 3rdparty/signaling/www/demos \$(__REAL_INSTALL)/objs/nginx/html/
|
||||||
@echo "Now copy binary files"
|
@echo "Now copy binary files"
|
||||||
@mkdir -p \$(__REAL_INSTALL)/objs
|
@mkdir -p \$(__REAL_INSTALL)/objs
|
||||||
@cp -f objs/srs \$(__REAL_INSTALL)/objs
|
@cp -f objs/srs \$(__REAL_INSTALL)/objs
|
||||||
|
|
|
@ -59,8 +59,6 @@ if [ $help = yes ]; then
|
||||||
--pi for pi platform, configure/make/package.
|
--pi for pi platform, configure/make/package.
|
||||||
--x86-64 alias for --x86-x64.
|
--x86-64 alias for --x86-x64.
|
||||||
--jobs Set the configure and make jobs.
|
--jobs Set the configure and make jobs.
|
||||||
|
|
||||||
--console The path for https://github.com/ossrs/srs-console
|
|
||||||
END
|
END
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
@ -153,18 +151,6 @@ ok_msg "start install srs"
|
||||||
ret=$?; if [[ 0 -ne ${ret} ]]; then failed_msg "install srs failed"; exit $ret; fi
|
ret=$?; if [[ 0 -ne ${ret} ]]; then failed_msg "install srs failed"; exit $ret; fi
|
||||||
ok_msg "install srs success"
|
ok_msg "install srs success"
|
||||||
|
|
||||||
# Copy srs-console
|
|
||||||
HTTP_HOME="${package_dir}/${INSTALL}/objs/nginx/html/"
|
|
||||||
(
|
|
||||||
cp $work_dir/research/api-server/static-dir/index.html ${HTTP_HOME} &&
|
|
||||||
cp $work_dir/research/api-server/static-dir/favicon.ico ${HTTP_HOME} &&
|
|
||||||
cp $work_dir/research/api-server/static-dir/crossdomain.xml ${HTTP_HOME} &&
|
|
||||||
cp -R $work_dir/research/players ${HTTP_HOME} &&
|
|
||||||
cp -R $work_dir/research/console ${HTTP_HOME}
|
|
||||||
) >> $log 2>&1
|
|
||||||
ret=$?; if [[ 0 -ne ${ret} ]]; then failed_msg "copy utilities failed"; exit $ret; fi
|
|
||||||
ok_msg "copy utilities success"
|
|
||||||
|
|
||||||
# copy extra files to package.
|
# copy extra files to package.
|
||||||
ok_msg "start copy extra files to package"
|
ok_msg "start copy extra files to package"
|
||||||
(
|
(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue