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-13 14:43:32 +0200
commit63689dd65887648dfcdc0032d6d995f024ad9ffa (patch)
tree5e688e49696c10445c2cff88ed3d4e3309ec1b54
parentcc433b72cb88d753ec6e472d418e05eab4c0a15b (diff)
downloadrabbitmq-server-git-63689dd65887648dfcdc0032d6d995f024ad9ffa.tar.gz
Makefile: Don't copy `rabbit/ebin` when running "make install" on Windows
`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)"