From 2949c751f6d1e9442061531cf9c0e33a0ce3c43c Mon Sep 17 00:00:00 2001 From: winlin Date: Sat, 5 Apr 2014 14:17:49 +0800 Subject: [PATCH] update install, create http root --- trunk/auto/options.sh | 2 +- trunk/configure | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/trunk/auto/options.sh b/trunk/auto/options.sh index de61b9333..f69b98869 100755 --- a/trunk/auto/options.sh +++ b/trunk/auto/options.sh @@ -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 diff --git a/trunk/configure b/trunk/configure index 62cf93fec..1ed823418 100755 --- a/trunk/configure +++ b/trunk/configure @@ -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