diff options
author | Alex Xu <alex_y_xu@yahoo.ca> | 2014-02-18 09:51:05 -0500 |
---|---|---|
committer | Alex Xu <alex_y_xu@yahoo.ca> | 2014-02-18 09:51:05 -0500 |
commit | a7269ca8155a1ee5857aed5ae9882b1c122cf878 (patch) | |
tree | e0e61f7cbba4f4cbbb1dc29fcf0bab3cf9d7348d | |
parent | ba4f7b298953b45bc78a8685b72d0c4478475dda (diff) | |
download | html5ks-a7269ca8155a1ee5857aed5ae9882b1c122cf878.tar.xz html5ks-a7269ca8155a1ee5857aed5ae9882b1c122cf878.zip |
stuff
-rwxr-xr-x | .travis.sh | 6 | ||||
-rw-r--r-- | Makefile | 2 | ||||
-rwxr-xr-x | setup.sh | 6 |
3 files changed, 9 insertions, 5 deletions
@@ -1,8 +1,8 @@ -#!/bin/bash +#!/bin/sh -set -e +set -e -x -MAKEOPTS="-j$(nproc)" +MAKEOPTS="-j`nproc`" case "$1" in before_install) @@ -23,7 +23,7 @@ endif DUMP ?= www/dump -all: .modules video audio images js +all: modules video audio images js # === GIT SUBMODULES === modules: @@ -1,6 +1,10 @@ #!/bin/sh -set -e +if [ -z $MAKEOPTS ]; then + MAKEOPTS="-j`nproc`" +fi + +set -e -x cd $(dirname $0) |