aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSimon Pasquier <spasquie@redhat.com>2019-03-25 12:47:57 +0100
committerJohannes 'fish' Ziemke <github@freigeist.org>2019-03-25 12:47:57 +0100
commitdbe7badc7c37da1ddaaa33db4860e51a73c4c44a (patch)
tree9fad12c85f6537992e4f7051a90d2c3ffa44732d /Makefile
parent2f87b7cba6d6eb729a78724335fd59e746fcdff4 (diff)
downloadprometheus_node_collector-dbe7badc7c37da1ddaaa33db4860e51a73c4c44a.tar.bz2
prometheus_node_collector-dbe7badc7c37da1ddaaa33db4860e51a73c4c44a.tar.xz
prometheus_node_collector-dbe7badc7c37da1ddaaa33db4860e51a73c4c44a.zip
Update Makefile.common (#1288)
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d4144e4..908cb9a 100644
--- a/Makefile
+++ b/Makefile
@@ -11,6 +11,9 @@
11# See the License for the specific language governing permissions and 11# See the License for the specific language governing permissions and
12# limitations under the License. 12# limitations under the License.
13 13
14# Ensure that 'all' is the default target otherwise it will be the first target from Makefile.common.
15all::
16
14include Makefile.common 17include Makefile.common
15 18
16PROMTOOL_VERSION ?= 2.5.0 19PROMTOOL_VERSION ?= 2.5.0
@@ -70,7 +73,7 @@ $(eval $(call goarch_pair,amd64,386))
70$(eval $(call goarch_pair,mips64,mips)) 73$(eval $(call goarch_pair,mips64,mips))
71$(eval $(call goarch_pair,mips64el,mipsel)) 74$(eval $(call goarch_pair,mips64el,mipsel))
72 75
73all: style vet staticcheck checkmetrics checkrules build test $(cross-test) $(test-e2e) 76all:: vet checkmetrics checkrules common-all $(cross-test) $(test-e2e)
74 77
75.PHONY: test 78.PHONY: test
76test: collector/fixtures/sys/.unpacked 79test: collector/fixtures/sys/.unpacked