Files
linuxkit/alpine/packages/vsudd/Makefile
Justin Cormack 5c634808df simplify tar for vendor directory
Signed-off-by: Justin Cormack <justin@specialbusservice.com>
2016-09-12 16:02:07 +01:00

14 lines
280 B
Makefile

all: vsudd
DEPS=Dockerfile $(wildcard *.go)
vsudd: $(DEPS) ../vendor/manifest
mkdir -p sbin
tar cf - $(DEPS) -C .. $(shell cd .. && find vendor) | docker build -t vsudd:build -
docker run --rm --net=none vsudd:build | tar xf - -C sbin
clean:
rm -rf sbin
.DELETE_ON_ERROR: