Re: RFS: viennacl
On 07/31/2011 10:34 PM, Michael Tautschnig wrote:
> Hi,
>
> [...]
>>> If there is no source missing, just make sure it is not used in the
>>> debian build, for example by deleting it in debian/rules before doing
>>> anything else (in most packages just before running configure is a very
>>> good time).
>>>
>
> Thanks a lot Bernhard for this much easier solution, should have thought of that
> myself...
>
> [...]
>> One question remains, though: should I re-generate those files
>> (generated sources, Doxygen docs and PDF manual) when building the package?
>>
>
> I guess leaving docs as-is is probably ok, but sources should be rebuilt, in all
> cases. For a package the size of viennacl it would probably also be good to
> rebuild the documentation, this shouldn't take too much build time.
>
> The basic steps should thus be:
>
> - clean target removes all pre-built stuff. Documentation, generated code,
> binaries.
Simple, but doesn't play nice with git-buildpackage. Unless I want to
specify --git-ignore-new, which has other undesired side-effects. For
now, will add it to the debian/gbp.conf and see how it works out.
> - Do whatever is necessary to get back to current code base. This will add quite
> a few build dependencies as I understand, including doxygen and some boost
> libraries, but that's fine.
I noticed it will only add a dependency on doxygen, as the boost
libraries are already required for the testing.
Michael
Reply to: