8000 make srcdist: Allow the caller to provide build-java.html by its own … · yezijiang/rabbitmq-java-client@e9bac89 · GitHub
[go: up one dir, main page]

Skip to content

Commit e9bac89

Browse files
committed
make srcdist: Allow the caller to provide build-java.html by its own mean
1 parent ef5dd87 commit e9bac89

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

Makefile

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,14 @@ srcdist: distclean
6363

6464
if [ -f README.in ]; then \
6565
cp README.in build/$(SRC_ARCHIVE)/README; \
66-
elinks -dump -no-references -no-numbering $(WEB_URL)build-java-client.html \
67-
>> build/$(SRC_ARCHIVE)/README; \
66+
if [ -f build-java-client.txt ]; then \
67+
cat build-java-client.txt \
68+
>> build/$(SRC_ARCHIVE)/README; \
69+
else \
70+
elinks -dump -no-references -no-numbering \
71+
$(WEB_URL)build-java-client.html \
72+
>> build/$(SRC_ARCHIVE)/README; \
73+
fi; \
6874
fi
6975
(cd build; tar -zcf $(SRC_ARCHIVE).tar.gz $(SRC_ARCHIVE))
7076
(cd build; zip -q -r $(SRC_ARCHIVE).zip $(SRC_ARCHIVE))

0 commit comments

Comments
 (0)
0