[Libreoffice] When a file is removed, dependency info is stale and not regenerated

Caolán McNamara caolanm at redhat.com
Tue Dec 14 02:47:59 PST 2010


I think we've all gotten caught with this problem.

How about the following attached hack in build.pl so that if a normal
dmake fails when launched from build.pl, then do a dmake depend=t and
retry.

To reproduce the original problem do something like

a) cd tools/source/ref 
touch hacktest.hxx
edit pstm.cxx to include hacktest.hxx
build

all ok

b) now
rm hacktest.hxx
edit pstm.cxx to remove hacktest.hxx
build

"hacktest.hxx" not found and can't be made, due to the dependency
generation. All a bit nasty.

C.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: retry.after.updating.depends.patch
Type: text/x-patch
Size: 807 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20101214/2bb9f5f2/attachment.bin>


More information about the LibreOffice mailing list