winlin

update install, create http root

... ... @@ -168,7 +168,7 @@ if [ $SRS_DEV = YES ]; then
SRS_NGINX=YES
SRS_SSL=YES
SRS_FFMPEG=YES
if [ $SRS_HTTP_CALLBACK = RESERVED ]; then SRS_HTTP_CALLBACK=YES; fi
SRS_HTTP_CALLBACK=YES
SRS_HTTP_SERVER=YES
SRS_HTTP_API=YES
SRS_LIBRTMP=YES
... ...
... ... @@ -255,6 +255,8 @@ install-api: install
install:
@echo "mkdir \$(DESTDIR)"
@mkdir -p \$(DESTDIR)
@echo "make the http root dir"
@mkdir -p \$(DESTDIR)/objs/nginx/html
@echo "copy binary files"
@mkdir -p \$(DESTDIR)/objs
@cp objs/srs \$(DESTDIR)/objs
... ...