winlin

update install, create http root

@@ -168,7 +168,7 @@ if [ $SRS_DEV = YES ]; then @@ -168,7 +168,7 @@ if [ $SRS_DEV = YES ]; then
168 SRS_NGINX=YES 168 SRS_NGINX=YES
169 SRS_SSL=YES 169 SRS_SSL=YES
170 SRS_FFMPEG=YES 170 SRS_FFMPEG=YES
171 - if [ $SRS_HTTP_CALLBACK = RESERVED ]; then SRS_HTTP_CALLBACK=YES; fi 171 + SRS_HTTP_CALLBACK=YES
172 SRS_HTTP_SERVER=YES 172 SRS_HTTP_SERVER=YES
173 SRS_HTTP_API=YES 173 SRS_HTTP_API=YES
174 SRS_LIBRTMP=YES 174 SRS_LIBRTMP=YES
@@ -255,6 +255,8 @@ install-api: install @@ -255,6 +255,8 @@ install-api: install
255 install: 255 install:
256 @echo "mkdir \$(DESTDIR)" 256 @echo "mkdir \$(DESTDIR)"
257 @mkdir -p \$(DESTDIR) 257 @mkdir -p \$(DESTDIR)
  258 + @echo "make the http root dir"
  259 + @mkdir -p \$(DESTDIR)/objs/nginx/html
258 @echo "copy binary files" 260 @echo "copy binary files"
259 @mkdir -p \$(DESTDIR)/objs 261 @mkdir -p \$(DESTDIR)/objs
260 @cp objs/srs \$(DESTDIR)/objs 262 @cp objs/srs \$(DESTDIR)/objs