[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: unconditional install -d in Make.common produces unneccessary errors (ignored)



On Wed, May 10, 2000 at 12:07:50AM +0200, Josip Rodin wrote:
> Hi people,
> 
> There is one glitch in current Make.common that produces this:
> 
> make[2]: Entering directory `/debian2/web/webwml/croatian/Bugs'
> install -d ../../../debian.org/Bugs
> install: ../../../debian.org/Bugs: Operation not permitted
> install: ../../../debian.org/Bugs: Operation not permitted
> make[2]: [install] Error 1 (ignored)
> 
> Same happens for lots of other dirs... anyway the code in question is:
> 
> install::
> 	-install -d $(HTMLDIR)
> 
> This should be:
> 
> install::
> 	test -d $(HTMLDIR) || install -d $(HTMLDIR)
> 
> `-' shouldn't be necessary, since this should never fail; also we could
> replace `install -d' with mkdir since that's what gets done, basically.
> 
Sure, make the change.

-- 
James (Jay) Treacy
treacy@debian.org



Reply to: