view Makefile @ 10:fa645feb1f0e

fetch the jar file if we don't have it
author Carl Byington <carl@five-ten-sg.com>
date Fri, 22 Mar 2013 12:58:33 -0700
parents df4952a2fb06
children c0150404962d
line wrap: on
line source

f=logstash-1.1.9-monolithic.jar

all:
	[ -f $f ] || curl https://logstash.objects.dreamhost.com/release/$f >$f
	[ -d builder ] && rm -rf builder || /bin/true
	mkdir builder
	rpmbuild --define "_sourcedir $(shell pwd)" --define "_builddir $(shell pwd)/builder" --define "_srcrpmdir $(shell pwd)" --define "_rpmdir $(shell pwd)" --define "_source_filedigest_algorithm md5" --define "_binary_filedigest_algorithm md5" -ba logstash.spec