[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:05:42PM -0400, James A. Treacy wrote:
> > 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::
> > 	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.

Okay. I checked out the whole web tree on va.d.o, and did:

for i in */Make.common; do cp $i $i~; sed -e 's,-install -d $(HTMLDIR),test -d $(HTMLDIR) || mkdir -p $(HTMLDIR),' $i > $i.n; mv $i.n $i; done
cvs commit arabic/Make.common chinese/Make.common croatian/Make.common danish/Make.common dutch/Make.common english/Make.common esperanto/Make.common finnish/Make.common french/Make.common german/Make.common hungarian/Make.common italian/Make.common japanese/Make.common korean/Make.common norwegian/Make.common polish/Make.common portuguese/Make.common romanian/Make.common russian/Make.common spanish/Make.common swedish/Make.common turkish/Make.common


BTW now that web build is separated from dinstall, could we make the web
pages build+mirror every twelve hours? I doubt this would harm anyone,
master is less loaded these days, and mirrors don't care about 100Kb of

Digital Electronic Being Intended for Assassination and Nullification

Reply to: