make.sh install http.conf and mime.types

pull/192/head
yuqing 2018-03-16 22:07:40 +08:00
parent 9f0cef2faf
commit 5fe58217de
1 changed files with 3 additions and 1 deletions

View File

@ -77,7 +77,7 @@ elif [ "$uname" = "FreeBSD" ] || [ "$uname" = "Darwin" ]; then
LIBS="$LIBS -L/usr/lib"
CFLAGS="$CFLAGS"
if [ "$uname" = "Darwin" ]; then
CFLAGS="$CFLAGS -DDARWIN"
CFLAGS="$CFLAGS -DDARWIN -I/usr/local/include/fastcommon"
fi
elif [ "$uname" = "SunOS" ]; then
LIBS="$LIBS -L/usr/lib"
@ -193,6 +193,8 @@ if [ "$1" = "install" ]; then
cp -f conf/storage.conf $TARGET_CONF_PATH/storage.conf.sample
cp -f conf/client.conf $TARGET_CONF_PATH/client.conf.sample
cp -f conf/storage_ids.conf $TARGET_CONF_PATH/storage_ids.conf.sample
cp -f conf/http.conf $TARGET_CONF_PATH/http.conf.sample
cp -f conf/mime.types $TARGET_CONF_PATH/mime.types.sample
fi
mkdir -p $TARGET_INIT_PATH
cp -f init.d/fdfs_trackerd $TARGET_INIT_PATH