diff options
Diffstat (limited to 'deps/rabbitmq_stomp/test/python_SUITE_data/deps/stomppy/Makefile')
-rw-r--r-- | deps/rabbitmq_stomp/test/python_SUITE_data/deps/stomppy/Makefile | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/deps/rabbitmq_stomp/test/python_SUITE_data/deps/stomppy/Makefile b/deps/rabbitmq_stomp/test/python_SUITE_data/deps/stomppy/Makefile new file mode 100644 index 0000000000..40f5bd1db7 --- /dev/null +++ b/deps/rabbitmq_stomp/test/python_SUITE_data/deps/stomppy/Makefile @@ -0,0 +1,27 @@ +UPSTREAM_GIT=https://github.com/jasonrbriggs/stomp.py.git +REVISION=v4.0.16 + +LIB_DIR=stomppy +CHECKOUT_DIR=stomppy-git + +TARGETS=$(LIB_DIR) + +all: $(TARGETS) + +clean: + rm -rf $(LIB_DIR) + +distclean: clean + rm -rf $(CHECKOUT_DIR) + +$(LIB_DIR) : $(CHECKOUT_DIR) + rm -rf $@ + cp -R $< $@ + +$(CHECKOUT_DIR): + git clone $(UPSTREAM_GIT) $@ + (cd $@ && git checkout $(REVISION)) || rm -rf $@ + +echo-revision: + @echo $(REVISION) + |