Skip to content

Commit

Permalink
use original Makefile.COMMON with ROOTPKG override in Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
taotetek committed Jul 8, 2015
1 parent 0669479 commit b11632c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
VERSION := 0.0.1
TARGET := rsyslog_exporter
GOFLAGS := -ldflags "-X main.Version $(VERSION)"
ROOTPKG := github.com/digitalocean/$(TARGET)

include Makefile.COMMON
2 changes: 1 addition & 1 deletion Makefile.COMMON
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ unexport GOBIN
SUFFIX ?= $(GOOS)-$(GOARCH)
BINARY ?= $(TARGET)
ARCHIVE ?= $(TARGET)-$(VERSION).$(SUFFIX).tar.gz
ROOTPKG ?= github.com/digitalocean/$(TARGET)
ROOTPKG ?= github.com/prometheus/$(TARGET)
SELFLINK ?= $(GOPATH)/src/$(ROOTPKG)

default: $(BINARY)
Expand Down

0 comments on commit b11632c

Please sign in to comment.