Build system

- missing source code files for deprecated autotools
- exclude test cmakefile in packaged source
This commit is contained in:
Federico Hernandez 2011-02-16 23:39:45 +01:00
parent f2f590e193
commit 73fd2cefca
3 changed files with 6 additions and 4 deletions

View file

@ -76,7 +76,9 @@ add_subdirectory (src)
add_subdirectory (doc)
add_subdirectory (i18n)
add_subdirectory (scripts)
add_subdirectory (test EXCLUDE_FROM_ALL)
if (EXISTS test)
add_subdirectory (test EXCLUDE_FROM_ALL)
endif (EXISTS test)
set (doc_FILES NEWS ChangeLog README INSTALL AUTHORS COPYING)
foreach (doc_FILE ${doc_FILES})
@ -90,6 +92,6 @@ set (CPACK_SOURCE_PACKAGE_FILE_NAME ${PACKAGE_NAME}-${PACKAGE_VERSION})
set (CPACK_SOURCE_IGNORE_FILES "CMakeCache" "CMakeFiles" "CPackConfig" "CPackSourceConfig"
"_CPack_Packages" "cmake_install" "install_manifest"
"Makefile$" "test" "package-config" "misc/*"
"src/task$" "src/libtask.a" "auto.h"
"src/task$" "src/libtask.a" "auto.h$"
"/\\.gitignore" "/\\.git/" "swp$")
include (CPack)