Hi Maurilio,

since I have a few more days of vacations I'm trying to rebuild current harbour cvs code on OS/2

I had to make a couple of changes to .cf files, but now I still have a problem I'd like to discuss with you.

The problem is that config/os2-rm is called like this

os2-rm -r -f obj/os2/gcc

this removes the gcc directory but not the obj/os2 parent ones.

The problem is that SmartSVN (the svn client I'm using) thinks that those empty dirs need to be added to the svn repository and makes committing difficult since I end up with hundreds of dirs to remove from its interface before being able to commit a single file.

Now, on a Mac OS X system, rm -rf a/b/c behaves as on OS/2, that is, only the leaf dir is removed.

Is this by design? Should'nt it be better to remove the whole obj/ system/compiler tree when cleaning?

It cannot be removed as is, as it may hold files for other compilers,
and cleaning one target should touch the others.

If there is a command to remove parent dirs *if empty*, in a clean
way, we may add it to the clean rules. For NT shells I couldn't find
such command.

Brgds,
Viktor

_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to