Fixed "make dist" target.

This commit is contained in:
Ryan C. Gordon 2010-02-02 23:33:57 -05:00
parent 8ce71e5924
commit 13a9f9b2dd
1 changed files with 4 additions and 2 deletions

View File

@ -521,10 +521,12 @@ ELSE(DOXYGEN_FOUND)
ENDIF(DOXYGEN_FOUND) ENDIF(DOXYGEN_FOUND)
IF(UNIX) IF(UNIX)
SET(PHYSFS_TARBALL "${CMAKE_CURRENT_SOURCE_DIR}/../physfs-${PHYSFS_VERSION}.tar.gz")
ADD_CUSTOM_TARGET( ADD_CUSTOM_TARGET(
dist dist
./extras/makedist.sh ${PHYSFS_VERSION} hg archive -t tgz "${PHYSFS_TARBALL}"
COMMENT "Building source tarball..." WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}"
COMMENT "Building source tarball '${PHYSFS_TARBALL}'..."
) )
ADD_CUSTOM_TARGET( ADD_CUSTOM_TARGET(
uninstall uninstall