Ok, in CPack you can specify what files you want to copy. It is a bit
of a hard process and since most of our CVS repositories are fairly
clean I never thought of that. That said, I can see somebody doing an
in-source build and then try to make a source TAR. I will document how
to specify exact files to be copied.

Andy

On 11/13/06, Philip Lowman <[EMAIL PROTECTED]> wrote:
Enrico Scholz wrote:
> "Alan W. Irwin"
> <[EMAIL PROTECTED]> writes:
>
>> We have used CPACK_SOURCE_IGNORE_FILES to ignore all backup (*~)
>> files, all CVS directories, and some directories that are specific to
>> our project.  These regex's (not file globs) are a powerful means of
>> deciding exactly what you want to go into your source tarball from
>> the source tree.
>
> Mmmh... sounds like a maintenance nightmare to update this ignore list;
> it will probably result into looking manually into each tarball whether
> there are really only the wanted files.
>
> I like automake's way much more where I can specify exactly what I want
> and can test for completeness with 'make distcheck'.

I have to agree with Enrico.  RPM packages also work in this manner.

--
Philip Lowman
Simulation Development Engineer, Modeling and Simulation Technology
General Dynamics Land Systems
http://www.gdls.com
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake



--
-------------------------------------------
Andy Cedilnik
Kitware Inc.
http://www.kitware.com
Phone: +1 518 371 3971 x110
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to