summaryrefslogtreecommitdiffstats
path: root/utils/console-tools/PRE_BUILD
blob: 4cf2740d49d8a5c4d1ed32ecfedb65aa9838f147 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
default_pre_build      &&
cd  $SOURCE_DIRECTORY  &&
patch  -p0  <  $SCRIPT_DIRECTORY/double-fclose-fix.patch  &&
patch  -p1  <  $SCRIPT_DIRECTORY/gcc-3.4.patch            &&
cp  $SCRIPT_DIRECTORY/config.sub  .                       &&
if ! is_depends_enabled $SPELL linuxdoc-tools; then
  find -iname "*.sgml" -exec rm {} \; &&
  sed -i -e 's/kbd.FAQ.html//' -e 's/kbd.FAQ.txt//' \
         -e 's/lct.html//' -e 's/lct.txt//' doc/Makefile*
fi &&
sedit "s/examples//"  Makefile.am                         &&
sedit "s/examples//"  Makefile.in