Skip to content

Commit

Permalink
Updates Makefile.
Browse files Browse the repository at this point in the history
Signed-off-by: Kouhei Maeda <mkouhei@palmtb.net>
  • Loading branch information
mkouhei committed Apr 16, 2015
1 parent 4427b21 commit 60b35b1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ endif
# "FUNC=-html" when generate HTML coverage report
FUNC := -func

-include $(wildcard *.in)

all: precheck clean test build build-docs

precheck:
Expand Down Expand Up @@ -72,7 +74,7 @@ endif
prebuild: $(SRC)
go get -d -v ./...
install -d $(CURDIR)/_build/src/$(GOPKG)
cp -a $(CURDIR)/*.go $(CURDIR)/_build/src/$(GOPKG)
cp -a $(PREBUILD_OPTS) $(CURDIR)/*.go $(CURDIR)/_build/src/$(GOPKG)

build: prebuild
go build -ldflags "-X main.ver $(shell git describe --always)" -o _build/$(BIN)
Expand Down

0 comments on commit 60b35b1

Please sign in to comment.