default_pre_build                                                              &&
cd ${SOURCE_DIRECTORY}                                                         &&
sedit "s:doc/Thunar:doc/${SPELL}:g" docs/Makefile.am                           &&
sedit "s:doc/Thunar:doc/${SPELL}:g" docs/Makefile.in                           &&
sedit "s:doc/Thunar:doc/${SPELL}:g" docs/manual/Makefile.am                    &&
sedit "s:doc/Thunar:doc/${SPELL}:g" docs/manual/Makefile.in                    &&
for lang in C es eu fr ja pl ru zh_TW
do
  sedit "s:doc/Thunar:doc/${SPELL}:g" docs/manual/${lang}/Makefile.am          &&
  sedit "s:doc/Thunar:doc/${SPELL}:g" docs/manual/${lang}/Makefile.in          &&
  sedit "s:doc/Thunar:doc/${SPELL}:g" docs/manual/${lang}/images/Makefile.am   &&
  sedit "s:doc/Thunar:doc/${SPELL}:g" docs/manual/${lang}/images/Makefile.in
done                                                                           &&
sedit "s:doc/Thunar:doc/${SPELL}:g" ThunarHelp.in
