summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandru Scvortov <alexandru@rabbitmq.com>2011-10-10 10:21:00 +0100
committerAlexandru Scvortov <alexandru@rabbitmq.com>2011-10-10 10:21:00 +0100
commit95ca04683f0f6ed406c60d308e366d6f7a6fdfea (patch)
tree78cd23fedf3d04222b44d3ed2030169d9d53aec4
parenta68c38ab1d848895e9fced860c6dde21ba7dd442 (diff)
downloadrabbitmq-server-95ca04683f0f6ed406c60d308e366d6f7a6fdfea.tar.gz
find the LICENSE files
-rw-r--r--Makefile13
1 files changed, 2 insertions, 11 deletions
diff --git a/Makefile b/Makefile
index 2af3b5bf..0e19f0cd 100644
--- a/Makefile
+++ b/Makefile
@@ -111,19 +111,9 @@ plugins:
PLUGINS_SRC_DIR="" $(MAKE) -C "$(PLUGINS_SRC_DIR)" plugins-dist PLUGINS_DIST_DIR="$(CURDIR)/$(PLUGINS_DIR)" VERSION=$(VERSION)
echo "Put your EZs here and use rabbitmq-plugins to enable them." > $(PLUGINS_DIR)/README
rm -f $(PLUGINS_DIR)/rabbit_common*.ez
-
-# If you add a license here, make sure to also add it to packaging/common/LICENSE.
-PLUGINS_SRC_LICENSES := "plugins-src/rabbitmq-management/LICENSE-MIT-jQuery142" \
- "plugins-src/rabbitmq-management/LICENSE-MIT-EJS10" \
- "plugins-src/rabbitmq-management/LICENSE-MIT-Sammy060" \
- "plugins-src/webmachine-wrapper/LICENSE-Apache-Basho" \
- "plugins-src/mochiweb-wrapper/LICENSE-MIT-Mochi" \
- "plugins-src/rabbitmq-management-visualiser/LICENSE-BSD-glMatrix" \
- "plugins-src/eldap-wrapper/LICENSE-MIT-eldap"
else
plugins:
# Not building plugins
-PLUGINS_SRC_LICENSES :=
endif
$(DEPS_FILE): $(SOURCES) $(INCLUDES)
@@ -274,7 +264,8 @@ srcdist: distclean
ifneq "$(PLUGINS_SRC_DIR)" ""
ln -s $(PLUGINS_SRC_DIR) $(TARGET_SRC_DIR)/plugins-src
cp packaging/common/LICENSE $(TARGET_SRC_DIR)
- cp $(PLUGINS_SRC_LICENSES) $(TARGET_SRC_DIR)
+ echo $(PLUGINS_SRC_DIR)
+ cp -n $(shell find $(PLUGINS_SRC_DIR) -name "LICENSE-*") $(TARGET_SRC_DIR)
else
@echo No plugins source distribution found
endif