Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merged 1042:dc9291957a5a from default branch: make dist fix.
  • Loading branch information
icculus committed Feb 3, 2010
1 parent 7aaa4dc commit 2276520
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion CMakeLists.txt
Expand Up @@ -346,7 +346,13 @@ ELSE(DOXYGEN_FOUND)
ENDIF(DOXYGEN_FOUND)

IF(UNIX)
ADD_CUSTOM_TARGET(dist ./extras/makedist.sh ${PHYSFS_VERSION} COMMENT "Building source tarball")
SET(PHYSFS_TARBALL "${CMAKE_CURRENT_SOURCE_DIR}/../physfs-${PHYSFS_VERSION}.tar.gz")
ADD_CUSTOM_TARGET(
dist
hg archive -t tgz "${PHYSFS_TARBALL}"
WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}"
COMMENT "Building source tarball '${PHYSFS_TARBALL}'..."
)
ENDIF(UNIX)

MACRO(MESSAGE_BOOL_OPTION _NAME _VALUE)
Expand Down

0 comments on commit 2276520

Please sign in to comment.