From avraham.adler at gmail.com  Mon Jan 26 23:12:54 2015
From: avraham.adler at gmail.com (Avraham Adler)
Date: Mon, 26 Jan 2015 17:12:54 -0500
Subject: [Rd] Building rinstaller using R-devel (3.2.0-to-be) halts when
 trying to copy html files
Message-ID: <CAL6gwnKn8Y9wJJYKQ+RJNb8KkKF=pokr3ggu7-YhAxXM+f_4MQ@mail.gmail.com>

As the build process, especially for Windows, is changing
significantly for R 3.2.0, I am trying to build R-devel in
preparation. When running `make rinstaller`, I get the following
error:

    cp -p ../../../etc/x64/Makeconf R-devel/etc/x64
    mkdir -p R-devel/doc
    cp -p ../../../doc/CRAN_mirrors.csv R-devel/doc
    mkdir -p R-devel/doc/manual/images
    cp -pR ../../../doc/html R-devel/doc
    cp -p ../../../doc/manual/*.html ../../../doc/manual/*.pdf \
      R-devel/doc/manual
    cp: cannot stat '../../../doc/manual/*.html': No such file or directory
    make[1]: *** [imagedir] Error 1
    make[1]: Leaving directory `/cygdrive/f/R/R-devel/src/gnuwin32/installer'
    make: *** [rinstaller] Error 2

Looking at the directories, I have "\doc\manual" and
"F:\R\R-devel\doc\html" and there are no .html files in the \manual
directory, only pdfs.

I am building on Windows 7 64 bit, so the MkRules.local is being used,
and the pertinent settings therein include:

    BUILD_HTML = YES
    MIKTEX = TRUE
    TEXI2ANY = missing

Is it as simple as changing line 74 in the Makefile under
src/gnuwin32/installer from:

    $(CP) -p $(R_HOME)/doc/manual/*.html $(R_HOME)/doc/manual/*.pdf \

to

    $(CP) -p $(R_HOME)/doc/html/*.html $(R_HOME)/doc/manual/*.pdf \

Or is the problem that MIKTEX alone can no longer be used and texinfo
/must/ be installed (as is implied in
<http://cran.r-project.org/doc/manuals/r-devel/R-admin.html#Building-the-manuals>?

Thank you,

Avi



[Rd] Building rinstaller using R-devel (3.2.0-to-be) halts when trying to copy html files
Avraham Adler