mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-02-23 17:29:23 +08:00
tools/release: allow invoking make as a parallel build
If the variable MAKE is set in the environment, use it. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
This commit is contained in:
parent
7e9d4fdf8d
commit
ab8c1d2ee5
@ -38,13 +38,16 @@ unset GIT_DIR
|
||||
git clone -s -l "$HERE" nasm
|
||||
rm -rf nasm/.git nasm/.gitignore
|
||||
|
||||
# How to invoke make if MAKE is not set
|
||||
MAKE="${MAKE:-make}"
|
||||
|
||||
# Create files which are in the release but automatically generated
|
||||
cd nasm
|
||||
./autogen.sh
|
||||
./configure --prefix=/usr/local
|
||||
make perlreq spec manpages
|
||||
make alldeps
|
||||
make distclean
|
||||
"$MAKE" perlreq spec manpages
|
||||
"$MAKE" alldeps
|
||||
"$MAKE" distclean
|
||||
cd ..
|
||||
|
||||
# Clean up any previous attempt
|
||||
@ -75,9 +78,9 @@ find nasm-"$version" -not -type d -print > main
|
||||
# Create documentation
|
||||
cd nasm-"$version"
|
||||
./configure --prefix=/usr/local
|
||||
make doc
|
||||
"$MAKE" doc
|
||||
# Remove intermediate files.
|
||||
make cleaner
|
||||
"$MAKE" cleaner
|
||||
cd ..
|
||||
|
||||
# Remove non-documentation
|
||||
|
Loading…
Reference in New Issue
Block a user