diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -84,8 +84,9 @@ build: --with-ld-opt=-lossp-uuid \ --add-module=./nginx-x-rid-header \ --add-module=./redis2-nginx-module \ - --add-module=./nginx-statsd - cd $(BUILD_DIR)/ && make + --add-module=./nginx-statsd $(NGX_CONFIGURE) + cd $(BUILD_DIR)/ && \ + make -j $(grep -c processor /proc/cpuinfo) install: cd $(BUILD_DIR)/ && make install @@ -116,6 +117,6 @@ pagespeed: help: @echo "This is a Makefile to automatize compiling nginx from source.\n" @echo "Run 'make fetch' to fetch the core and addons." - @echo "Run 'make build' to configure and compile nginx." + @echo "Run 'make build' to configure and compile nginx. If you want to pass options to ./configure you can do this with 'NGX_CONFIGURE=options... make build' on the commmand line." @echo "'make install' will install it system wide (needs root previleges)." @echo "If you are on GNU/Debian, you can run 'make prepare' to install some needed libraries." |
