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

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

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 -d $(HTMLDIR)

This should be:

	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.

Can I make the change?

Digital Electronic Being Intended for Assassination and Nullification

Reply to: