On Fri, Aug 21, 2009 at 5:05 PM, Viktor Szakáts<[email protected]> 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)
>
> 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. ]

To clarify this idea:
first clean rule: delete target files
second clean rule: delete dirs

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

Reply via email to