This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How not to override existing file


Tom Tromey writes:
 > There's no automatic way to do this.
 > But you can write an install-local rule and do it by hand.

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

Currently I just do:

	  rmdir $(DESTDIR)$(rootdir)

Is this ok?

Cheers,
   Sean




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]