>>>>> "Sean" == Sean MacLennan <[EMAIL PROTECTED]> writes:

Sean> Ok, I have done that. Now one last question. What is the "correct" way
Sean> to remove a directory when I do not want an error if the directory is
Sean> non-empty.

Sean>     rmdir $(DESTDIR)$(rootdir)

If you want to ignore the error, prefix the command with `-'.  That
tells make to ignore it.

If you want to delete the directory even if it has contents, use "rm -rf".
(This is dangerous.)

Tom


Reply via email to