winlin

copy ffmpeg when install-demo

@@ -216,12 +216,14 @@ uninstall: @@ -216,12 +216,14 @@ uninstall:
216 @echo "rmdir \$(SRS_PREFIX)" 216 @echo "rmdir \$(SRS_PREFIX)"
217 @rm -rf \$(SRS_PREFIX) 217 @rm -rf \$(SRS_PREFIX)
218 218
219 -install-demo: 219 +install-demo: install
220 @echo "mkdir \$(SRS_PREFIX)" 220 @echo "mkdir \$(SRS_PREFIX)"
221 @mkdir -p \$(SRS_PREFIX) 221 @mkdir -p \$(SRS_PREFIX)
222 @echo "copy binary files" 222 @echo "copy binary files"
223 @mkdir -p \$(SRS_PREFIX)/research/api-server 223 @mkdir -p \$(SRS_PREFIX)/research/api-server
224 @cp research/api-server/server.py \$(SRS_PREFIX)/research/api-server 224 @cp research/api-server/server.py \$(SRS_PREFIX)/research/api-server
  225 + @mkdir -p \$(SRS_PREFIX)/objs/ffmpeg/bin
  226 + @cp research/objs/ffmpeg/bin/ffmpeg \$(SRS_PREFIX)/objs/ffmpeg/bin
225 @echo "copy html files" 227 @echo "copy html files"
226 @mkdir -p \$(SRS_PREFIX)/research/api-server/static-dir/players 228 @mkdir -p \$(SRS_PREFIX)/research/api-server/static-dir/players
227 @cp research/api-server/static-dir/crossdomain.xml \$(SRS_PREFIX)/research/api-server/static-dir 229 @cp research/api-server/static-dir/crossdomain.xml \$(SRS_PREFIX)/research/api-server/static-dir