box-o-sand/logstash/agent/Makefile
Dan Buch 38327558d6 Trying out a version that uses golog
as well as touching up the Makefiles to set SHELL
2013-07-07 23:07:38 -04:00

16 lines
385 B
Makefile

SHELL := /bin/bash
LOGSTASH_VERSION ?= 1.1.13
all: lib/logstash-$(LOGSTASH_VERSION)-flatjar.jar
lib/logstash-$(LOGSTASH_VERSION)-flatjar.jar: lib
pushd lib && \
curl -L -O http://logstash.objects.dreamhost.com/release/logstash-$(LOGSTASH_VERSION)-flatjar.jar ; \
popd
lib:
mkdir -p $@
run-agent: all
java -jar lib/logstash-$(LOGSTASH_VERSION)-flatjar.jar agent -f agent.conf