Docs build failure

Derek Atkins warlord at MIT.EDU
Tue Feb 20 09:58:24 EST 2018


Geert Janssens <geert.gnucash at kobaltwit.be> writes:

> I think @CMAKE_SOURCE_DIR@ would have worked just fine as well. cmake's 
> configure_file command works with both formats. I don't know why John chose 
> the shell-like variable notation.
>
> But yes, the changes were necessary to get configure_file to work. It would 
> not work with the @-...-@ notation.
>
> You can probably use
> sed -es/'${CMAKE_SOURCE_DIR}'/${top_srcdir}/g
>
> The single quotes around ${CMAKE_SOURCE_DIR} will prevent bash from expanding 
> it on the spot. bash will still remove them so sed will see
> -es/${CMAKE_SOURCE_DIR}/<bash-expanded-value-of-${top_srcdir}>/g

I did this and it appears to be working now.

> Geert

-derek

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available


More information about the gnucash-devel mailing list