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