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)
|
$(verbose) mkdir -p $(DESTDIR)$(WINDOWS_PREFIX)
|
||||||
$(inst_verbose) cp -r \
|
$(inst_verbose) cp -r \
|
||||||
LICENSE* \
|
LICENSE* \
|
||||||
$(DEPS_DIR)/rabbit/ebin \
|
|
||||||
$(DEPS_DIR)/rabbit/priv \
|
|
||||||
$(DEPS_DIR)/rabbit/INSTALL \
|
$(DEPS_DIR)/rabbit/INSTALL \
|
||||||
$(DIST_DIR) \
|
$(DIST_DIR) \
|
||||||
$(DESTDIR)$(WINDOWS_PREFIX)
|
$(DESTDIR)$(WINDOWS_PREFIX)
|
||||||
|
|
@ -507,16 +505,6 @@ install-windows-erlapp: dist
|
||||||
> $(DESTDIR)$(WINDOWS_PREFIX)/$(notdir $(DIST_DIR))/README.txt
|
> $(DESTDIR)$(WINDOWS_PREFIX)/$(notdir $(DIST_DIR))/README.txt
|
||||||
$(verbose) $(UNIX_TO_DOS) $(DESTDIR)$(WINDOWS_PREFIX)/plugins/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:
|
install-windows-escripts:
|
||||||
$(verbose) $(MAKE) -C $(DEPS_DIR)/rabbitmq_cli install \
|
$(verbose) $(MAKE) -C $(DEPS_DIR)/rabbitmq_cli install \
|
||||||
PREFIX="$(WINDOWS_PREFIX)/$(CLI_ESCRIPTS_DIR)"
|
PREFIX="$(WINDOWS_PREFIX)/$(CLI_ESCRIPTS_DIR)"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue