@@ -111,7 +111,6 @@ endef
111
111
# --------------------------------------------------------------------
112
112
113
113
.PHONY : source-dist clean-source-dist
114
- .PHONY : source-bundle clean-source-bundle
115
114
116
115
SOURCE_DIST_BASE ?= rabbitmq-server
117
116
SOURCE_DIST_SUFFIXES ?= tar.xz
@@ -123,13 +122,6 @@ SOURCE_DIST_FILES = $(addprefix $(SOURCE_DIST).,$(SOURCE_DIST_SUFFIXES))
123
122
124
123
.PHONY : $(SOURCE_DIST_FILES )
125
124
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 )
133
125
source-dist : $(SOURCE_DIST_FILES )
134
126
@:
135
127
@@ -138,9 +130,7 @@ RSYNC_V_0 =
138
130
RSYNC_V_1 = -v
139
131
RSYNC_V_2 = -v
140
132
RSYNC_V = $(RSYNC_V_$(V ) )
141
- BASE_RSYNC_FLAGS += -a $(RSYNC_V ) \
142
- --delete \
143
- --delete-excluded \
133
+ RSYNC_FLAGS += -a $(RSYNC_V ) \
144
134
--exclude '.sw?' --exclude '.*.sw?' \
145
135
--exclude '*.beam' \
146
136
--exclude '*.d' \
@@ -172,6 +162,7 @@ BASE_RSYNC_FLAGS += -a $(RSYNC_V) \
172
162
--exclude '$(notdir $(DEPS_DIR ) ) /' \
173
163
--exclude 'hexer*' \
174
164
--exclude 'logs/' \
165
+ --exclude 'packaging' \
175
166
--exclude 'PKG_*.md' \
176
167
--exclude '/plugins/' \
177
168
--include 'cli/plugins' \
@@ -194,21 +185,9 @@ BASE_RSYNC_FLAGS += -a $(RSYNC_V) \
194
185
--exclude '/ranch/doc/' \
195
186
--exclude '/ranch/examples/' \
196
187
--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
212
191
213
192
TAR ?= tar
214
193
TAR_V_0 =
@@ -373,8 +352,6 @@ $(SOURCE_DIST).zip: $(SOURCE_DIST).manifest
373
352
374
353
clean :: clean-source-dist
375
354
376
- clean-source-bundle :: clean-source-dist
377
-
378
355
clean-source-dist :
379
356
$(gen_verbose ) rm -rf -- $(SOURCE_DIST_BASE ) -*
380
357
0 commit comments