Skip to content

Commit

Permalink
Fixed "make dist" target.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Feb 3, 2010
1 parent 8ce71e5 commit 13a9f9b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions CMakeLists.txt
Expand Up @@ -521,10 +521,12 @@ ELSE(DOXYGEN_FOUND)
ENDIF(DOXYGEN_FOUND)

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

0 comments on commit 13a9f9b

Please sign in to comment.