Showing
1 changed file
with
2 additions
and
2 deletions
@@ -13,7 +13,7 @@ GOARCH = $(shell go env GOARCH) | @@ -13,7 +13,7 @@ GOARCH = $(shell go env GOARCH) | ||
13 | 13 | ||
14 | LIBRARY = $(GOPATH)/pkg/$(GOOS)_$(GOARCH)/$(PACKAGE).a | 14 | LIBRARY = $(GOPATH)/pkg/$(GOOS)_$(GOARCH)/$(PACKAGE).a |
15 | 15 | ||
16 | -.PHONY: all clean .version.new | 16 | +.PHONY: all clean |
17 | 17 | ||
18 | all: $(LIBRARY) | 18 | all: $(LIBRARY) |
19 | 19 | ||
@@ -21,7 +21,7 @@ $(LIBRARY): $(SOURCES) | @@ -21,7 +21,7 @@ $(LIBRARY): $(SOURCES) | ||
21 | go install $(PACKAGE) | 21 | go install $(PACKAGE) |
22 | 22 | ||
23 | .version.new: | 23 | .version.new: |
24 | - -@printf "%s\n%s\n%s" "$(VERSION)" "$(REVISION)" >$@ | 24 | + -@printf "%s\n" "$(VERSION)" "$(REVISION)" >$@ |
25 | 25 | ||
26 | .version: .version.new | 26 | .version: .version.new |
27 | -@diff $@ $< >/dev/null 2>&1 && rm $< || mv $< $@ | 27 | -@diff $@ $< >/dev/null 2>&1 && rm $< || mv $< $@ |
Please
register
or
login
to post a comment