some slightly weird logic to distinguish whether you are building from
SVN or from tarballs, based on the existence of $(srcdir)/doc/FAQ and
$(builddir)/non-tarball. If you have the former and not the latter, it
is assumed that there will be a ready-made SVN-REVISION.
There's a bug in the Makefile, though:
svnonly:
@if test ! -f "$(srcdir)/doc/FAQ" || test -f non-tarball ; then \
(cd doc/manual && $(MAKE) front-matter html-non-svn) ; \
touch non-tarball ; \
(cd $(srcdir); LC_ALL=C TZ=GMT svn -rHEAD info || $(ECHO)
"Revision: unknown") 2> /dev/null \
| sed -n -e '/^Revision/p' -e '/^Last Changed Date/'p \
| cut -d' ' -f1,2,3,4 > SVN-REVISION-tmp ; \
...etc...
I don't think we want the -rHEAD there since it can cause the version
stamp to become different from the version of the source files in case
of an intervening commit.
this is from a fresh svn checkout:
[stvjc at stvjc1 R-devel]$ ls -tl Makefile
-rw-rw-r-- 1 stvjc stvjc 12833 Jun 26 07:24 Makefile
[stvjc at stvjc1 R-devel]$ svn up
At revision 45988.
[stvjc at stvjc1 R-devel]$ bin/R
R version 2.8.0 Under development (unstable) (--)
Copyright (C) The R Foundation for Statistical Computing
ISBN 3-900051-07-0
..
R version 2.8.0 Under development (unstable) (--)
x86_64-unknown-linux-gnu
locale:
LC_CTYPE=en_US.UTF-8;LC_NUMERIC=C;LC_TIME=en_US.UTF-8;LC_COLLATE=en_US.UTF-8;LC_MONETARY=C;LC_MESSAGES=en_US.UTF-8;LC_PAPER=en_US.UTF-8;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=en_US.UTF-8;LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
---
Vince Carey, PhD
Assoc. Prof Med (Biostatistics)
Harvard Medical School
Channing Laboratory - ph 6175252265 fa 6177311541
181 Longwood Ave Boston MA 02115 USA
stvjc at channing.harvard.edu
The information transmitted in this electronic communica...{{dropped:10}}