annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
10
fa645feb1f0e fetch the jar file if we don't have it
Carl Byington <carl@five-ten-sg.com>
parents: 0
diff changeset
1 f=logstash-1.1.9-monolithic.jar
fa645feb1f0e fetch the jar file if we don't have it
Carl Byington <carl@five-ten-sg.com>
parents: 0
diff changeset
2
0
df4952a2fb06 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
3 all:
10
fa645feb1f0e fetch the jar file if we don't have it
Carl Byington <carl@five-ten-sg.com>
parents: 0
diff changeset
4 [ -f $f ] || curl https://logstash.objects.dreamhost.com/release/$f >$f
0
df4952a2fb06 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
5 [ -d builder ] && rm -rf builder || /bin/true
df4952a2fb06 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
6 mkdir builder
df4952a2fb06 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
7 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