Fixed "make dist" target.
This commit is contained in:
parent
8ce71e5924
commit
13a9f9b2dd
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue