default_pre_build                                            &&
sedit  "s/www/www-data/"      $SOURCE_DIRECTORY/Makefile.in  &&
sedit  "s/\/www-data/\/www/"  $SOURCE_DIRECTORY/Makefile.in  &&
if [ "x${THTTPD_TILDE}" != "xnone" ] ; then
  if [ "x${THTTPD_TILDE}" == "xweb_tree" ] ; then
    pattern="TILDE_MAP_1" 
  elif [ "x${THTTPD_TILDE}" == "xhome_dir" ] ; then
    pattern="TILDE_MAP_2"
  fi                                                         &&
  line=`grep -n ${pattern} $SOURCE_DIRECTORY/config.h`       &&
  line_number=`echo ${line} | sed -r 's/(.*):.*/\1/'`        &&
  line=`echo ${line} | sed -r 's/.*:(.*)/\1/'`               &&
  let line_number=${line_number}+3                           &&
  sed -i -r "${line_number}i ${line}" $SOURCE_DIRECTORY/config.h 
fi
