summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhorus_arch2015-04-07 21:31:10 +0200
committerhorus_arch2015-04-07 21:31:10 +0200
commitf5423fe5dda9da1674d788e4502efe0ef799d04c (patch)
tree3539672b7aec6f370324737145ba89722be27e6f
parent86a5ee388097692fa0a5d7fc79ec1e4967c8a4d1 (diff)
parentad198cc4030f31ba769bbb544b5fce5d6c1d06ef (diff)
downloadnginx-build-f5423fe5dda9da1674d788e4502efe0ef799d04c.tar.gz
Merge branch 'dev' of git.iamfabulous.de:nginx-build into dev
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 4007f4e..9188a28 100644
--- a/Makefile
+++ b/Makefile
@@ -88,7 +88,7 @@ build:
--add-module=./set-misc-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
@@ -120,5 +120,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."