On Fri, 21 Aug 2009, Szak�ts Viktor wrote:
> Same is true for dos rules in globsh.cf change by your recent commit.
> ---
> $(if $(LIB_FILE),-...@$(RM) $(basename $(LIB_FILE_OS)).bak,)
> $(if $(LIB_FILE),$(if $(wildcard $(LIB_DIR)/*.*),,-...@$(RDP)
> $(LIB_DIR_OS)),)
> ---
>
> Second line will not be executed if LIB_FILE existed in this pass.
> In next 'clean' run it will deleted the directory.
>
> Am I seeing it right? (before I start doing any fixes)
Yes. The second line should be changed to:
$(if $(LIB_FILE),$(if $(filterout $(basename
$(LIB_FILE_OS)).bak,$(wildcard $(LIB_DIR)/*.*)),,-...@$(RDP) $(LIB_DIR_OS)),)
> Also, what clever stunt could we pull to avoid readding 'if exist' rules,
> which don't work too well in dos shell anyway?
> [ Adding a second level of clean rule comes to mind, but I don't know
> how to add it. ]
Not for this case but as total cleanup for all arch you can add
support for 'mrproper' action.
best regards,
Przemek
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour