#!/bin/sh

#
# OO.o dependencies are perenially broken in some respects:
#

exit 0;

OOBUILDDIR=$1;
if test "z$OOO_FIX_DEPS" = "zNO"; then
    echo "Skip resource poking";
else
    echo "Force resource dependency rebuild";
    find $OOBUILDDIR/*/*.pro -name '*.dpr' -exec rm {} \; || true;
    find $OOBUILDDIR/*/*.pro -name '*.don' -exec rm {} \; || true;
    find $OOBUILDDIR/*/*.pro -name '*.srs' -exec rm {} \; || true;
    touch $OOBUILDDIR/desktop/source/offwrp/wrapper.cxx
fi
