Fix packer/Makefile dependencies
authorSebastian Pipping <sebastian@pipping.org>
Tue, 10 Mar 2015 00:11:20 +0000 (01:11 +0100)
committerSebastian Pipping <sebastian@pipping.org>
Tue, 10 Mar 2015 00:11:20 +0000 (01:11 +0100)
packer/Makefile

index 42785b0..88ca578 100644 (file)
@@ -1,5 +1,9 @@
-compile:
+compile: fake-uname.so
+
+fake-uname.so:
        gcc -shared -fPIC -ldl fake-uname.c -o fake-uname.so
 
-packer:
+packer: fake-uname.so
        packer build debian64_wheezy.json
+
+.PHONY: compile packer