mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 06:37:19 -04:00
Remove dep and phony label
This commit is contained in:
parent
27a2daa4a0
commit
025ca1df86
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -43,8 +43,7 @@ default:
|
|||
TESTS=$(wildcard spec/support/*.rb spec/filters/*.rb spec/examples/*.rb spec/codecs/*.rb spec/conditionals/*.rb spec/event.rb spec/jar.rb)
|
||||
|
||||
# The 'version' is generated based on the logstash version, git revision, etc.
|
||||
.PHONY: .VERSION.mk
|
||||
.VERSION.mk: | build
|
||||
.VERSION.mk:
|
||||
@REVISION="$$(git rev-parse --short HEAD | tr -d ' ')" ; \
|
||||
RELEASE=$$(awk -F\" '/LOGSTASH_VERSION/ {print $$2}' lib/logstash/version.rb | tr -d ' ') ; \
|
||||
if git diff --shortstat --exit-code > /dev/null ; then \
|
||||
|
@ -54,6 +53,7 @@ TESTS=$(wildcard spec/support/*.rb spec/filters/*.rb spec/examples/*.rb spec/cod
|
|||
fi > $@
|
||||
|
||||
-include .VERSION.mk
|
||||
|
||||
version:
|
||||
@echo "Version: $(VERSION)"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue