Geert Janssens <geert.gnuc...@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 warl...@mit.edu PGP key available _______________________________________________ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel