summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Sébastien Pédron <jean-sebastien.pedron@dumbbell.fr>2021-04-08 11:00:55 +0200
committerJean-Sébastien Pédron <jean-sebastien.pedron@dumbbell.fr>2021-04-08 11:22:03 +0200
commitd1fcf159bf27e7f56030956282d109dae91a76d0 (patch)
tree96b41f8a0543f2723750ad75c4ba7116b69e3f45
parent15a46a032fb88227e6b806e66dc781c4dbed768d (diff)
downloadrabbitmq-server-git-improvements-to-source-dist-recipe.tar.gz
Makefile: Don't copy `rabbit/ebin` when running "make install" on Windowsimprovements-to-source-dist-recipe
`rabbit` is now packaged as any plugins and `rabbit_common`. There is no need for a second copy of its beam files. At the same time, we stop copying the `priv` directory and headers for the same reason.
-rw-r--r--Makefile12
1 files changed, 0 insertions, 12 deletions
diff --git a/Makefile b/Makefile
index 9ee1cf559c..a7c97eb1ef 100644
--- a/Makefile
+++ b/Makefile
@@ -498,8 +498,6 @@ install-windows-erlapp: dist
$(verbose) mkdir -p $(DESTDIR)$(WINDOWS_PREFIX)
$(inst_verbose) cp -r \
LICENSE* \
- $(DEPS_DIR)/rabbit/ebin \
- $(DEPS_DIR)/rabbit/priv \
$(DEPS_DIR)/rabbit/INSTALL \
$(DIST_DIR) \
$(DESTDIR)$(WINDOWS_PREFIX)
@@ -507,16 +505,6 @@ install-windows-erlapp: dist
> $(DESTDIR)$(WINDOWS_PREFIX)/$(notdir $(DIST_DIR))/README.txt
$(verbose) $(UNIX_TO_DOS) $(DESTDIR)$(WINDOWS_PREFIX)/plugins/README.txt
- @# FIXME: Why do we copy headers?
- $(verbose) cp -r \
- $(DEPS_DIR)/rabbit/include \
- $(DESTDIR)$(WINDOWS_PREFIX)
- @# rabbitmq-common provides headers too: copy them to
- @# rabbitmq_server/include.
- $(verbose) cp -r \
- $(DEPS_DIR)/rabbit_common/include \
- $(DESTDIR)$(WINDOWS_PREFIX)
-
install-windows-escripts:
$(verbose) $(MAKE) -C $(DEPS_DIR)/rabbitmq_cli install \
PREFIX="$(WINDOWS_PREFIX)/$(CLI_ESCRIPTS_DIR)"