Greg A. Woods writes:

> It turns out that some versions of *BSD "install" (aka xinstall.c in the
> 4.4bsd distribution) don't allow '-c' and '-d' at the same time (and
> strictly speaking none should).

> Of course this crops up because some authors using Autoconf (and
> Automake) have the (good, in my opinion) habit of using "install -d" to
> create new directories (instead of 'mkdir').

The infinitely better habit (at least in the current setup) is to use
mkinstalldirs. I also have a macro that detects whether mkdir -p or
install -d works and falls back to mkinstalldirs only when necessary. In
case someone's interested.


-- 
Peter Eisentraut                  Sernanders väg 10:115
[EMAIL PROTECTED]                   75262 Uppsala
http://yi.org/peter-e/            Sweden

Reply via email to