[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RFS: flare



Hi Vincent.

On 08/23/2011 08:55 PM, Vincent Cheng wrote:
> On Tue, Aug 23, 2011 at 11:19 AM, Jan-Hendrik (hennr) Peters
> <hennr@hennr.name> wrote:
>>> - debian/rules: you can simply your rules file and get rid of several
>>> overrides with...
>>>
>>> %:
>>>       dh $@ --buildsystem cmake --builddirectory=build
>>
>> Could you be a bit more specific with that one?
>> Simply adding the two options and uncommenting the overrides
>> dh_auto_configure and dh_auto_build does not work:
>>
>> dh build --buildsystem cmake --builddirectory=build
>>   dh_testdir -O--buildsystem=cmake -O--builddirectory=build
>>   dh_auto_configure -O--buildsystem=cmake -O--builddirectory=build
>> CMake Error: The source directory
>> "/home/henner/flare-debian/flare-packaging" does not appear to contain
>> CMakeLists.txt.
> 
> If CMakeLists.txt isn't placed in the top-level directory of your
> source tree, then try passing --sourcedirectory=directory to dh, where
> "directory" is whichever directory contains CMakeLists.txt.


OK, I tried that, but it does not work that good.
The dir does not get cleaned properly and the CMakeLists.txt got deleted
after one build.
I will stick with the overrides if the sponsor does not complain.


All the best
Henner


Reply to: