Viktor,
I don't like this idea since we're replacing OS/2 with *nix commands
(ported,
ok, but not native ones) and this forces more dependencies while my
solution,
even if less clean, works with standard file shell commands).
Even os2-mkdir and os2-rd should be removed, IMHO, since it was
possibile to
build everything without them a few months back.
Unfortunately it's not so easy anymore.
Few features which require 'mkdir -p' support:
- HB_*_INSTALL dir automatic creation
- HB_BUILD_NAME support, when the name contains subdir
- PKG_DIR removal. (OS/2 doesn't have package creation
yet, but it would be nice to have.)
OS/2 'clean' and 'dirbase' rules have to be completely
reworked if 'mkdir -p' and 'rmdir -rf' isn't available.
Only OS/2 user can do that.
The real problem however that I reckon there is no way
to rework 'clean' and 'dirbase' rules without implementing
ugly manual hacks which have to be updated each time we
happen to change OBJ_DIR, BIN_DIR or LIB_DIR location.
Currently these are very easy to change at just one place
in global.cf.
The other problem is that probably the global rules have
to be made much complicated just for the sake of OS/2.
(like storing every dir level for every dir variable
in separate variables)
I don't like the idea to make general parts of Harbour
more complicate just for the sake of OS/2 (or any other
OS for that matter), so current solution was a compromise,
which I believe isn't that huge for OS/2 users. My only
concern here is licensing. But that can be solved by
some extra documentation in INSTALL and removal of these
tools from SVN (while still requiring them to build
Harbour).
Anyway, I have the full gnufutils installed, so I'll do a test with
cp,
without even moving it inside config since it is in my PATH.
Many thanks.
Brgds,
Viktor
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour