使用NGINX源代码,并且添加一些模块后,把configure带很多的参数写到一个可执行文件(build)中,结果build成功,make却老是报告错误:
-bash-3.2$ make
make: Nothing to be done for `default'.
最后发现,如果有一个build可执行文件,就会有这个问题,改名为build4mall后,就能顺利make了。
build4mall文件内容:
./configure --prefix=../run --add-module=./modules/taobao-nginx-http-concat --with-http_stub_status_module