CMakeLists.txt
changeset 885 e1fe7fe85939
parent 878 6d65c5e0049a
child 919 932b44ae8335
--- a/CMakeLists.txt	Tue Apr 03 01:08:50 2007 +0000
+++ b/CMakeLists.txt	Tue Apr 03 01:48:09 2007 +0000
@@ -348,6 +348,9 @@
     MESSAGE(STATUS "Doxygen not found. You won't be able to build documentation.")
 ENDIF(DOXYGEN_FOUND)
 
+IF(UNIX)
+    ADD_CUSTOM_TARGET(dist ./extras/makedist.sh ${PHYSFS_VERSION} COMMENT "Building source tarball")
+ENDIF(UNIX)
 
 MACRO(MESSAGE_BOOL_OPTION _NAME _VALUE)
     IF(${_VALUE})