You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Douglas Creager (JIRA)" <ji...@apache.org> on 2011/07/15 01:23:59 UTC

[jira] [Updated] (AVRO-474) CMake: Add dist target

     [ https://issues.apache.org/jira/browse/AVRO-474?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Douglas Creager updated AVRO-474:
---------------------------------

    Attachment: 0001-AVRO-474.-C-Add-source-packet-target-to-CMake-build-.patch

Here's a patch that updates the CMake build scripts to produce a source tarball.  After running cmake in your build directory, "make package_source" will produce the source tarball.

The only caveat is that CPack doesn't try to be smart about what to include in the tarball; basically anything in the top-level source directory is included.  I've added some ignore patterns to keep out some of the obvious riff-raff like backup files, and the CMake build directory.  But to produce a truly pristine source tarball, you should make sure to keep the source directory itself pristine.

> CMake: Add dist target
> ----------------------
>
>                 Key: AVRO-474
>                 URL: https://issues.apache.org/jira/browse/AVRO-474
>             Project: Avro
>          Issue Type: Sub-task
>          Components: c
>            Reporter: Bruce Mitchener
>            Assignee: Bruce Mitchener
>              Labels: cmake
>         Attachments: 0001-AVRO-474.-C-Add-source-packet-target-to-CMake-build-.patch
>
>
> We need a dist / distcheck target ...
> Might be worth looking at this which does it:
> http://bit.ly/d4emB8

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira