forked from rabbitmq/rabbitmq-jms-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
41 lines (29 loc) · 831 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
MVN ?= mvn
MVN_FLAGS ?=
ifndef DEPS_DIR
ifneq ($(wildcard ../../UMBRELLA.md),)
DEPS_DIR = ..
else
DEPS_DIR = deps
endif
endif
export PATH := $(CURDIR):$(CURDIR)/scripts:$(PATH)
MVN_FLAGS += -Ddeps.dir="$(abspath $(DEPS_DIR))"
.PHONY: all deps tests clean distclean
all: deps
$(MVN) $(MVN_FLAGS) compile
deps: $(DEPS_DIR)/rabbit
@:
dist: clean
$(MVN) $(MVN_FLAGS) -DskipTests=true -Dmaven.javadoc.failOnError=false package javadoc:javadoc
$(DEPS_DIR)/rabbit:
git clone https://github.com/rabbitmq/rabbitmq-server.git $@
$(MAKE) -C $@ fetch-deps DEPS_DIR="$(abspath $(DEPS_DIR))"
clean:
$(MVN) $(MVN_FLAGS) clean
distclean: clean
$(MAKE) -C $(DEPS_DIR)/rabbitmq_codegen clean
.PHONY: cluster-other-node
.PHONY: doc
doc: ## Generate PerfTest documentation
@mvnw asciidoctor:process-asciidoc --no-transfer-progress