Hello, I wrote a small module which adds support for 'make dist' and 'make distcheck'. It is available at
http://ensc.de/cmake/FindMakeDist.cmake There are the following limitations: * works probably only with the 'make' generator * requires at least a SUSv3/POSIX compliant system; some parts (e.g. bzip2-tarballs) depend on some GNUisms; this should be made configurable perhaps * there could be added some more tests (e.g. gnit-style (check for existence of required files and a proper VERSION format)) * it is somehow ugly, to see hundreds of 'Built target .distdir' messages * is is ugly that all sources must be specified for enable_makedist(); there should be added support to 'cmake' to enumerate targets and their sources Due to the last item, these targets are not so powerful and easy to use like their 'automake' counterparts. But they are an huge improvement to the current situation where there is nearly no support for creating source tarballs. Enrico
pgpfpyQB9ZWyD.pgp
Description: PGP signature
_______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake