[GNC] Upgrading GC under Ubuntu
Colin Law
clanlaw at gmail.com
Wed Jul 4 06:37:12 EDT 2018
On 4 July 2018 at 10:31, Geert Janssens <geert.gnucash at kobaltwit.be> wrote:
> Op woensdag 4 juli 2018 10:57:59 CEST schreef Colin Law:
>> Eureka moment - it is obvious if I just look in the right place. The
>> full cmake command I have is
>>
>> file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/gnucash/icons"
>> TYPE DIRECTORY FILES
>> "/home/colinl/apps/gnucash-3.2/data/pixmaps/hicolor" REGEX ".*/apps.*"
>> EXCLUDE)
>>
>> The REGEX is given the full path, which includes
>> /home/colinl/apps/gnucash-3.2/data/pixmaps/hicolor. I have put my
>> source directory under a folder called apps so the regex matches
>> everything! Changing the regex to
>>
>> REGEX "hicolor/.*/apps.*" EXCLUDE
>>
>> works perfectly.
>>
>> Colin
>
> Wow, that's a good catch!
>
> I have updated the build system to use a more specific regex as you propose.
I think there should be a / after apps as well, so apps/.* As it is
at the moment an image whose filename started with 'apps' would be
excluded. Presumably you have similarly changed the 'actions' regex
too, though it is less likely that anyone will have a path including
'actions'.
Colin
More information about the gnucash-user
mailing list