diff options
author | Alexandru Scvortov <alexandru@rabbitmq.com> | 2011-10-10 12:46:56 +0100 |
---|---|---|
committer | Alexandru Scvortov <alexandru@rabbitmq.com> | 2011-10-10 12:46:56 +0100 |
commit | 3fa7022eaafc89c1aad1cfee949fe91466d3e9b3 (patch) | |
tree | 686a0792979c3f7926351df15f9290cb64c60b39 /Makefile | |
parent | 95ca04683f0f6ed406c60d308e366d6f7a6fdfea (diff) | |
download | rabbitmq-server-3fa7022eaafc89c1aad1cfee949fe91466d3e9b3.tar.gz |
generate release LICENSE file
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -262,10 +262,13 @@ srcdist: distclean chmod 0755 $(TARGET_SRC_DIR)/scripts/* ifneq "$(PLUGINS_SRC_DIR)" "" - ln -s $(PLUGINS_SRC_DIR) $(TARGET_SRC_DIR)/plugins-src - cp packaging/common/LICENSE $(TARGET_SRC_DIR) - echo $(PLUGINS_SRC_DIR) - cp -n $(shell find $(PLUGINS_SRC_DIR) -name "LICENSE-*") $(TARGET_SRC_DIR) + cp -r $(PLUGINS_SRC_DIR) $(TARGET_SRC_DIR)/plugins-src + rm $(TARGET_SRC_DIR)/LICENSE + cat packaging/common/LICENSE.head >> $(TARGET_SRC_DIR)/LICENSE + find $(PLUGINS_SRC_DIR)/licensing -name "license_info_*" -exec cat '{}' >> $(TARGET_SRC_DIR)/LICENSE \; + cat packaging/common/LICENSE.tail >> $(TARGET_SRC_DIR)/LICENSE + find $(PLUGINS_SRC_DIR)/licensing -name "LICENSE-*" -exec cp '{}' $(TARGET_SRC_DIR) \; + rm -rf $(TARGET_SRC_DIR)/licensing else @echo No plugins source distribution found endif |