Skip to content
Permalink
Browse files
Fixed "make dist" target.
  • Loading branch information
icculus committed Feb 3, 2010
1 parent 8ce71e5 commit 13a9f9b2ddcf133332d6415ef92e513a693383b8
Showing with 4 additions and 2 deletions.
  1. +4 −2 CMakeLists.txt
@@ -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

0 comments on commit 13a9f9b

Please sign in to comment.