Skip to content

Commit d18da6c

Browse files
committed
Make maven rsync destination overridable on the make command-line
1 parent 0e18cf5 commit d18da6c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ WEB_URL=http://stage.rabbitmq.com/
99

1010
AMQP_CODEGEN_DIR=$(shell fgrep sibling.codegen.dir build.properties | sed -e 's:sibling\.codegen\.dir=::')
1111

12+
MAVEN_RSYNC_DESTINATION=maven@195.224.125.254:/home/maven/rabbitmq-java-client/
13+
1214
all:
1315
ant build
1416

@@ -63,4 +65,4 @@ srcdist: distclean
6365
(cd build; rm -rf $(SRC_ARCHIVE))
6466

6567
deploy-maven-bundle: maven-bundle
66-
rsync -r build/bundle/* maven@195.224.125.254:/home/maven/rabbitmq-java-client/
68+
rsync -r build/bundle/* $(MAVEN_RSYNC_DESTINATION)

0 commit comments

Comments
 (0)