Move all output to the directories it will be in eventually

Signed-off-by: Justin Cormack <justin@specialbusservice.com>
This commit is contained in:
Justin Cormack
2016-09-10 21:29:28 +01:00
committed by Justin Cormack
parent 5ae109fc23
commit 276157a769
26 changed files with 75 additions and 64 deletions

View File

@@ -1 +1 @@
nc-vsock
usr/

View File

@@ -1,8 +1,9 @@
DEPS=Dockerfile $(wildcard *.c *.h)
nc-vsock: $(DEPS)
usr/bin/nc-vsock: $(DEPS)
mkdir -p usr/bin
tar cf - $(DEPS) | docker build -t nc-vsock:build -
docker run --rm --net=none nc-vsock:build | tar xf -
docker run --rm --net=none nc-vsock:build | tar xf - -C usr/bin
clean:
rm -f nc-vsock
rm -rf usr