mirror of https://gitee.com/bigwinds/arangodb
add option to add the cookbook to the tarball and handle #2287
This commit is contained in:
parent
6495e12aa1
commit
18f4ce56e5
|
@ -427,8 +427,15 @@ build-dist-books:
|
|||
DISPL="$${DISPLAY}"; \
|
||||
fi; \
|
||||
make build-books DISPLAY="$${DISP}"; \
|
||||
mkdir -p ${OUTPUT_DIR}; \
|
||||
( cd books; tar -czf ${OUTPUT_DIR}/ArangoDB-${newVersionNumber}.tar.gz ${ALLBOOKS} index.html; ); \
|
||||
mkdir -p ${OUTPUT_DIR} ; \
|
||||
( \
|
||||
mv books ArangoDB-${newVersionNumber} ; \
|
||||
if test -n "${COOKBOOK_DIR}" ; then \
|
||||
cp -a ${COOKBOOK_DIR} ArangoDB-${newVersionNumber}/cookbook ; \
|
||||
fi ; \
|
||||
tar -czf ${OUTPUT_DIR}/ArangoDB-${newVersionNumber}.tar.gz ArangoDB-${newVersionNumber} ; \
|
||||
mv ArangoDB-${newVersionNumber} books ; \
|
||||
) ; \
|
||||
for book in $(ALLBOOKS); do \
|
||||
make build-book-dist NAME=$${book} DISPLAY="$${DISP}" ; \
|
||||
done; \
|
||||
|
|
Loading…
Reference in New Issue