-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathMakefile
31 lines (27 loc) · 904 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
BEATNAME=lmsensorsbeat
BEAT_DIR=github.com/eskibars
SYSTEM_TESTS=false
TEST_ENVIRONMENT=false
ES_BEATS=./vendor/github.com/elastic/beats
GOPACKAGES=$(shell glide novendor)
PREFIX?=.
# Path to the libbeat Makefile
-include $(ES_BEATS)/libbeat/scripts/Makefile
.PHONY: init
init:
glide update --no-recursive
make update
git init
git add .
.PHONY: install-cfg
install-cfg:
mkdir -p $(PREFIX)
cp etc/lmsensorsbeat.template.json $(PREFIX)/lmsensorsbeat.template.json
cp etc/lmsensorsbeat.yml $(PREFIX)/lmsensorsbeat.yml
cp etc/lmsensorsbeat.yml $(PREFIX)/lmsensorsbeat-linux.yml
cp etc/lmsensorsbeat.yml $(PREFIX)/lmsensorsbeat-binary.yml
cp etc/lmsensorsbeat.yml $(PREFIX)/lmsensorsbeat-darwin.yml
cp etc/lmsensorsbeat.yml $(PREFIX)/lmsensorsbeat-win.yml
.PHONY: update-deps
update-deps:
glide update --no-recursive