Skip to content

Commit

Permalink
Fix a few bugs in the nginx-ingress-controller Makefile
Browse files Browse the repository at this point in the history
* make 'clean' use the new path to the built binary
* make 'container' depend on 'build'
  • Loading branch information
ixdy committed Mar 14, 2017
1 parent 3dd7461 commit 071ac58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions controllers/nginx/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ build: clean
-ldflags "-s -w -X ${PKG}/pkg/version.RELEASE=${RELEASE} -X ${PKG}/pkg/version.COMMIT=${COMMIT} -X ${PKG}/pkg/version.REPO=${REPO_INFO}" \
-o rootfs/nginx-ingress-controller ${PKG}/pkg/cmd/controller

container:
container: build
$(DOCKER) build --pull -t $(PREFIX):$(RELEASE) rootfs

push: container
Expand Down Expand Up @@ -50,4 +50,4 @@ vet:
@go vet $(shell go list ${PKG}/... | grep -v vendor)

clean:
rm -f nginx-ingress-controller
rm -f rootfs/nginx-ingress-controller

0 comments on commit 071ac58

Please sign in to comment.