- offer targets if you just say 'make'

This commit is contained in:
Jordan Sissel 2013-05-10 11:31:25 -07:00
parent f2b7b83a86
commit 718fa69487

View file

@ -32,7 +32,12 @@ TAR_OPTS=--wildcards
endif
TESTS=$(wildcard spec/support/*.rb spec/filters/*.rb spec/examples/*.rb spec/event.rb spec/outputs/graphite.rb spec/outputs/email.rb)
default: jar
default:
@echo "Make targets you might be interested in:"
@echo " flatjar -- builds the flatjar jar"
@echo " flatjar-test -- runs the test suite against the flatjar"
@echo " jar -- builds the monolithic jar"
@echo " jar-test -- runs the test suite against the monolithic jar"
# Figure out if we're using wget or curl
.PHONY: wget-or-curl
@ -152,7 +157,8 @@ build/ruby: | build
# TODO(sissel): Skip sigar?
# Run this one always? Hmm..
.PHONY: build/monolith
build/monolith: $(ELASTICSEARCH) $(JRUBY) $(GEOIP) vendor-gems | build
#build/monolith: $(ELASTICSEARCH) $(JRUBY) $(GEOIP) vendor-gems | build
build/monolith: $(ELASTICSEARCH) $(JRUBY) vendor-gems | build
build/monolith: vendor/ua-parser/regexes.yaml
build/monolith: vendor/kibana
build/monolith: compile copy-ruby-files vendor/jar/graphtastic-rmiclient.jar
@ -176,7 +182,7 @@ build/monolith: compile copy-ruby-files vendor/jar/graphtastic-rmiclient.jar
-$(QUIET)rm -f $@/META-INF/LICENSE $@/META-INF/LICENSE.txt
-$(QUIET)mkdir -p $@/vendor/ua-parser
-$(QUIET)cp vendor/ua-parser/regexes.yaml $@/vendor/ua-parser
$(QUIET)cp $(GEOIP) $@/
#$(QUIET)cp $(GEOIP) $@/
-$(QUIET)rsync -a vendor/kibana/ $@/vendor/kibana/
vendor/ua-parser/: | build