Commit 873ef9a1 authored by Eric Gregory's avatar Eric Gregory

Dist tarball now in xz format

parent bf6bd4ca
......@@ -7,6 +7,5 @@ build/
/gearyd
/geary-mailer
/geary-console
*.gz
*.bz2
*.xz
......@@ -86,8 +86,6 @@ endif ()
set(ARCHIVE_NAME ${CMAKE_PROJECT_NAME}-${VERSION})
add_custom_target(dist
COMMAND git archive --prefix=${ARCHIVE_NAME}/ HEAD
| bzip2 > ${CMAKE_BINARY_DIR}/${ARCHIVE_NAME}.tar.bz2
COMMAND git archive --prefix=${ARCHIVE_NAME}/ HEAD
| gzip > ${CMAKE_BINARY_DIR}/${ARCHIVE_NAME}.tar.gz
| xz -z > ${CMAKE_BINARY_DIR}/${ARCHIVE_NAME}.tar.xz
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR})
......@@ -30,6 +30,5 @@ distclean: clean
.PHONY: dist
dist:
@$(MAKE) -C $(BUILD_DIR) dist
@cp build/*.gz .
@cp build/*.bz2 .
@cp build/*.xz .
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment