From p.dalgaard@biostat.ku.dk  Tue Jun  5 19:06:52 2001
From: p.dalgaard@biostat.ku.dk (Peter Dalgaard BSA)
Date: 05 Jun 2001 20:06:52 +0200
Subject: [Rd] error in make install-info (PR#969)
In-Reply-To: p.ribeiro@lancaster.ac.uk's message of "Tue, 5 Jun 2001 19:43:28 +0200 (MET DST)"
References: <200106051743.TAA16230@pubhealth.ku.dk>
Message-ID: <x2lmn6ls1v.fsf@blueberry.kubism.ku.dk>

p.ribeiro@lancaster.ac.uk writes:

> Hi 
> I'm installing R with the standard commands:
> 
>         ./configure
>         make
> 	make check 
>         make dvi        to create DVI versions
>         make pdf        to create PDF versions
>         make info       to create info files
>  
>         make install
>         make install-dvi
>         make install-info
>         make install-pdf
>      
> Everything works fine apart from "make install-info":
> 
> ---------------------------------------------------------------------
> [root@fyb012000002 /home/DOWNLOADS/R/Rdev]# make install-info
> make[1]: Entering directory `/home/DOWNLOADS/R/Rdev/doc/manual'
> Usage: mkinstalldirs [-h] [--help] [-m mode] dir ...
> make[1]: *** [/usr/local/lib/Rdevel/info/dir] Error 1
> make[1]: Leaving directory `/home/DOWNLOADS/R/Rdev/doc/manual'
> make: [install-info] Error 2 (ignored)
> ----------------------------------------------------------------------
> 
> This happens from R-1.2.3 (and previous) as well as for R-devel (1.3.0).
> Anything to worry about (it seens harmless)?

It's likely caused by

/doc/manual/Makefile:  @$(MKINSTALLDIRS) -p $(infodir)

in which I suspect that one can safely lose the "-p" since
mkinstalldirs obviously doesn't know what to do with it...

BTW we seem to be alternately using $(MKINSTALLDIRS) and
$(top_srcdir)/tools/mkinstalldirs for this purpose. Anyone have a clue
on whether this ought to be standardized?
-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk)             FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] error in make install-info (PR#969)
Peter Dalgaard BSA