Skip to content

Commit 5ff1c95

Browse files
Revert "Merge pull request #13385 from kartg/build-dist-make-target"
This reverts commit c1485af.
1 parent c1485af commit 5ff1c95

File tree

4 files changed

+8
-31
lines changed

4 files changed

+8
-31
lines changed

Makefile

Lines changed: 5 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@ endef
111111
# --------------------------------------------------------------------
112112

113113
.PHONY: source-dist clean-source-dist
114-
.PHONY: source-bundle clean-source-bundle
115114

116115
SOURCE_DIST_BASE ?= rabbitmq-server
117116
SOURCE_DIST_SUFFIXES ?= tar.xz
@@ -123,13 +122,6 @@ SOURCE_DIST_FILES = $(addprefix $(SOURCE_DIST).,$(SOURCE_DIST_SUFFIXES))
123122

124123
.PHONY: $(SOURCE_DIST_FILES)
125124

126-
# Override rsync flags as a pre-requisite
127-
source-bundle: RSYNC_FLAGS = $(SOURCE_BUNDLE_RSYNC_FLAGS)
128-
source-bundle: $(SOURCE_DIST_FILES)
129-
@:
130-
131-
# Override rsync flags as a pre-requisite
132-
source-dist: RSYNC_FLAGS = $(SOURCE_DIST_RSYNC_FLAGS)
133125
source-dist: $(SOURCE_DIST_FILES)
134126
@:
135127

@@ -138,9 +130,7 @@ RSYNC_V_0 =
138130
RSYNC_V_1 = -v
139131
RSYNC_V_2 = -v
140132
RSYNC_V = $(RSYNC_V_$(V))
141-
BASE_RSYNC_FLAGS += -a $(RSYNC_V) \
142-
--delete \
143-
--delete-excluded \
133+
RSYNC_FLAGS += -a $(RSYNC_V) \
144134
--exclude '.sw?' --exclude '.*.sw?' \
145135
--exclude '*.beam' \
146136
--exclude '*.d' \
@@ -172,6 +162,7 @@ BASE_RSYNC_FLAGS += -a $(RSYNC_V) \
172162
--exclude '$(notdir $(DEPS_DIR))/' \
173163
--exclude 'hexer*' \
174164
--exclude 'logs/' \
165+
--exclude 'packaging' \
175166
--exclude 'PKG_*.md' \
176167
--exclude '/plugins/' \
177168
--include 'cli/plugins' \
@@ -194,21 +185,9 @@ BASE_RSYNC_FLAGS += -a $(RSYNC_V) \
194185
--exclude '/ranch/doc/' \
195186
--exclude '/ranch/examples/' \
196187
--exclude '/sockjs/examples/' \
197-
--exclude '/workflow_sources/'
198-
199-
SOURCE_DIST_RSYNC_FLAGS += $(BASE_RSYNC_FLAGS) \
200-
--exclude 'packaging' \
201-
--exclude 'test'
202-
203-
# For source-bundle, explicitly include folders that are needed
204-
# for tests to execute. These are added before excludes from
205-
# the base flags so rsync honors the first match.
206-
SOURCE_BUNDLE_RSYNC_FLAGS += \
207-
--include 'rabbit_shovel_test/ebin' \
208-
--include 'rabbit_shovel_test/ebin/*' \
209-
--include 'rabbitmq_ct_helpers/tools' \
210-
--include 'rabbitmq_ct_helpers/tools/*' \
211-
$(BASE_RSYNC_FLAGS)
188+
--exclude '/workflow_sources/' \
189+
--delete \
190+
--delete-excluded
212191

213192
TAR ?= tar
214193
TAR_V_0 =
@@ -373,8 +352,6 @@ $(SOURCE_DIST).zip: $(SOURCE_DIST).manifest
373352

374353
clean:: clean-source-dist
375354

376-
clean-source-bundle:: clean-source-dist
377-
378355
clean-source-dist:
379356
$(gen_verbose) rm -rf -- $(SOURCE_DIST_BASE)-*
380357

deps/rabbit_common/include/rabbit_framing.hrl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
%% License, v. 2.0. If a copy of the MPL was not distributed with this
55
%% file, You can obtain one at https://mozilla.org/MPL/2.0/.
66
%%
7-
%% Copyright (c) 2007-2024 Broadcom. All Rights Reserved. The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries. All rights reserved.
7+
%% Copyright (c) 2007-2025 Broadcom. All Rights Reserved. The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries. All rights reserved.
88
%%
99
-define(PROTOCOL_PORT, 5672).
1010
-define(FRAME_METHOD, 1).

deps/rabbit_common/src/rabbit_framing_amqp_0_8.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
%% License, v. 2.0. If a copy of the MPL was not distributed with this
55
%% file, You can obtain one at https://mozilla.org/MPL/2.0/.
66
%%
7-
%% Copyright (c) 2007-2024 Broadcom. All Rights Reserved. The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries. All rights reserved.
7+
%% Copyright (c) 2007-2025 Broadcom. All Rights Reserved. The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries. All rights reserved.
88
%%
99
-module(rabbit_framing_amqp_0_8).
1010
-include("rabbit_framing.hrl").

deps/rabbit_common/src/rabbit_framing_amqp_0_9_1.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
%% License, v. 2.0. If a copy of the MPL was not distributed with this
55
%% file, You can obtain one at https://mozilla.org/MPL/2.0/.
66
%%
7-
%% Copyright (c) 2007-2024 Broadcom. All Rights Reserved. The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries. All rights reserved.
7+
%% Copyright (c) 2007-2025 Broadcom. All Rights Reserved. The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries. All rights reserved.
88
%%
99
-module(rabbit_framing_amqp_0_9_1).
1010
-include("rabbit_framing.hrl").

0 commit comments

Comments
 (0)