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.
This commit is contained in:
parent
cc433b72cb
commit
63689dd658
12
Makefile
12
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)"
|
||||
|
|
|
|||
Loading…
Reference in New Issue