From pgilbert@bank-banque-canada.ca  Mon Jun 12 19:33:32 2000
From: pgilbert@bank-banque-canada.ca (Paul Gilbert)
Date: Mon, 12 Jun 2000 14:33:32 -0400
Subject: [Rd] build buglet
Message-ID: <39452CFB.B218A583@bank-banque-canada.ca>

I use
     R CMD Rdindex man/*.Rd >INDEX
in my makefile to generate an INDEX. When I then use
     R CMD build whatever
the newindex seems to be in a slightly different order, resulting in a
* checking whether index is up-to-date ... NO
(because the result of diff is not empty) and a suggestion to use
--force.
However, --force results in the INDEX in my source directory being
re-written, which means that I can't use it as a dependency for
installing because it is always out of date after I build. But if I
don't use INDEX as a dependency  then my own help system may not be
up-to-date, which will be a problem when I'm working on documentation.

However, if I don't use --force I will always get warnings which I will
tend to ignore, so I won't notice more serious warnings. Is there some
way to guaranty the same order from these two ways for generating INDEX?

Paul Gilbert

(P.S. - I'm not an expert at makefiles but if anyone is interested I am
willing to share a fairly good makefile which I use for maintaining two
packages and two bundles with several packages in them.)

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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] build buglet
Paul Gilbert