diff options
| author | Horus3 | 2015-03-19 09:57:21 +0100 |
|---|---|---|
| committer | Horus3 | 2015-03-19 09:57:21 +0100 |
| commit | ad198cc4030f31ba769bbb544b5fce5d6c1d06ef (patch) | |
| tree | fe58c367324b3f4085d83be2e03fd60e34ba6972 | |
| parent | 688bc1e52bb01bf44bd7425bf23e6804f84f8de2 (diff) | |
| download | nginx-build-ad198cc4030f31ba769bbb544b5fce5d6c1d06ef.tar.gz | |
Fixed typo and small bug with make -j.
| -rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -86,7 +86,7 @@ build: --add-module=./redis2-nginx-module \ --add-module=./nginx-statsd $(NGX_CONFIGURE) cd $(BUILD_DIR)/ && \ - make -j $(grep -c processor /proc/cpuinfo) + bash -c "make -j $$(grep -c processor /proc/cpuinfo)" install: cd $(BUILD_DIR)/ && make install @@ -118,5 +118,5 @@ 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. 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 "'make install' will install it system wide (needs root privileges)." @echo "If you are on GNU/Debian, you can run 'make prepare' to install some needed libraries." |
