Skip to content

Commit 19e8205

Browse files
committed
Fix sources list for binary build
1 parent f601b82 commit 19e8205

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ else
1515
VERSION:=$(shell sh -c 'git describe --always --tags | sed -e "s/^v//i"')
1616
endif
1717

18+
SRCS:=$(shell find . -name '*.go')
19+
1820
all: $(NAME)
1921

2022
.PHONY: clean
@@ -24,7 +26,7 @@ clean:
2426
rm -f *deb *rpm
2527
rm -f sha256sum md5sum
2628

27-
$(NAME): $(wildcard **/*.go)
29+
$(NAME): $(SRCS)
2830
$(GO) build $(MODULE)
2931

3032
deploy/doc/graphite-clickhouse.conf: $(NAME)

0 commit comments

Comments
 (0)