review feedback

pull/83/head
Pat Hickey 6 years ago
parent d75e4a4224
commit 79dc08f8ac

@ -149,11 +149,12 @@ build: build/llvm.BUILT build/wasi-libc.BUILT build/compiler-rt.BUILT build/libc
strip: build/llvm.BUILT strip: build/llvm.BUILT
cd $(PREFIX)/bin; strip clang-9 lld llvm-ar cd $(PREFIX)/bin; strip clang-9 lld llvm-ar
package: dist package: build/package.BUILT
dist: build strip build/package.BUILT: build strip
mkdir -p dist mkdir -p dist
command -v dpkg-deb >/dev/null && ./deb_from_installation.sh $(shell pwd)/dist || true command -v dpkg-deb >/dev/null && ./deb_from_installation.sh $(shell pwd)/dist || true
./tar_from_installation.sh $(shell pwd)/dist ./tar_from_installation.sh $(shell pwd)/dist
touch built/package.BUILT
.PHONY: default clean build strip package .PHONY: default clean build strip package

@ -3,7 +3,7 @@ set -ex
if [ -n "$1" ]; then if [ -n "$1" ]; then
OUTDIR=$1 OUTDIR=$1
else else
OUTDIR=$PWD/build OUTDIR=$PWD/dist
fi fi
if [ -n "$2" ]; then if [ -n "$2" ]; then

@ -3,7 +3,7 @@ set -ex
if [ -n "$1" ]; then if [ -n "$1" ]; then
OUTDIR=$1 OUTDIR=$1
else else
OUTDIR=$PWD/build OUTDIR=$PWD/dist
fi fi
if [ -n "$2" ]; then if [ -n "$2" ]; then

Loading…
Cancel
Save