Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

R 3.2 sync #27

Merged
merged 3,931 commits into from
Aug 20, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
3931 commits
Select commit Hold shift + click to select a range
442e3a6
using eigen(*, only.value=TRUE) .. other cosmetic
Jan 27, 2015
91fa5f6
fix
Jan 27, 2015
df157bc
Help git lovers tracking R devel; patch proposed by Felipe Balbi at k…
Jan 28, 2015
7ad542c
special-case sciencedirect.com
Jan 28, 2015
93bfb4c
explain when substitute() works; notably extend the examples,
Jan 28, 2015
7333662
s/:=/=/ as the former is not portable
Jan 28, 2015
efe4fbc
Tweaks.
Jan 28, 2015
4bc10b2
Improve .parse_code_file(), and use for spell-checking message strings
Jan 28, 2015
4ca0207
improve speed of logical subsetting
Jan 29, 2015
66f1a23
more on whitespace
Jan 29, 2015
836292a
progress bars can be useful with batch reinstalls
Jan 29, 2015
b0c0937
more on progress bars
Jan 29, 2015
d96b354
Register boxplot.matrix().
Jan 29, 2015
df4eb55
add new method for download.file() on Windows
Jan 29, 2015
4d36077
cleanup
Jan 29, 2015
68ab0b7
update
Jan 29, 2015
a859bf2
typo
Jan 29, 2015
2b9dead
names(<environment>) now gives all (unsorted) object names
Jan 29, 2015
c469460
add caveat
Jan 29, 2015
b553f16
Using names(<env>) in our own code {a few are semantical changes, whe…
Jan 29, 2015
20bec64
cosmetic (from a while back)
Jan 29, 2015
1571202
Increased R_NGrowIncrFrac and R_VGrowIncrFrac to 0.2 to reduce GC
Jan 29, 2015
8c83b91
simplify genericForPrimitive() as suggested by Pete Haverty
Jan 30, 2015
5931951
callGeneric() now works when called via callNextMethod()
Jan 30, 2015
96f1952
implicit generics now take their enclosing environment from that of
Jan 30, 2015
c5454f4
replace many uses of get0(,inherits=FALSE) with simpler syntax based …
Jan 30, 2015
2c9dd22
Regenerate cmp.R using notangle to bring in missing change.
Jan 30, 2015
599d869
Reverted unnecessary cosmetic changes.
Jan 30, 2015
7878b48
allow reporting overwriting registered S3 methods
Jan 30, 2015
cae2df7
getPackageName() now falls back to topenv(where) to handle cases like
Jan 30, 2015
337a464
add check for overwriting registered S3 methods
Jan 31, 2015
c73b197
Add \doi.
Jan 31, 2015
e860345
http://doi.org is now preferred.
Jan 31, 2015
120cdad
Using #line directives confuses getParseData(): hence, instead call
Jan 31, 2015
3bf0924
Also percent encode reserved characters (PR#16173).
Jan 31, 2015
51611ef
Handle boundary case.
Jan 31, 2015
ae2c310
Rd markup.
Jan 31, 2015
580d78b
Spelling.
Jan 31, 2015
5bedf49
Remove one mirror as requested by the maintainer.
Jan 31, 2015
e4f12c0
Add trimws().
Jan 31, 2015
f816355
Codoc fix.
Jan 31, 2015
717add8
Enhance .parse_code_files() as needed for spell-checking R files.
Jan 31, 2015
c7cfc62
Use trimws().
Jan 31, 2015
db6d0d6
do is_base_pkg check first
Jan 31, 2015
d4f5f55
update
Jan 31, 2015
28f1308
add xref to COPYRIGHTS
Jan 31, 2015
89bf1e4
capitalize LAPACK consistently, clean up from removal of EISPACK
Feb 1, 2015
0686a4f
remove some unneeded uses of require, comment others
Feb 1, 2015
4a25ec9
capitalize LINPACK consistently
Feb 1, 2015
c0d0acc
Protect against possibly adding split.matrix().
Feb 1, 2015
eb699c7
Tweak.
Feb 1, 2015
55598d3
Tweak.
Feb 1, 2015
2e54438
remove unused .findBasicFuns()
Feb 1, 2015
b593771
simplify some manipulations of environments; more to come
Feb 1, 2015
81e70f1
cbind/rbind now delegate recursively to cbind2 (rbind2) when at least
Feb 1, 2015
68a8000
more cleaning up after ML
Feb 1, 2015
b657638
use text progress bar for download.file on non-interactive Windows
Feb 2, 2015
9009c95
add comments on cross-building
Feb 2, 2015
adf13b8
use text progress bars for non-interactive Windows
Feb 2, 2015
f2be9c7
fix bug introduced in r67698
Feb 2, 2015
7b7e07b
tweak check for S3 dispatch failure in delegation to [cr]bind2
Feb 2, 2015
95aff52
comment on LAPACK error codes
Feb 2, 2015
a7c435c
Add support for extracting URLs from HTML.
Feb 2, 2015
f81512f
markup
Feb 3, 2015
c5eaba5
there is no \dontcheck markup
Feb 3, 2015
0535500
use donttest
Feb 3, 2015
cac1067
split up internet tests
Feb 3, 2015
67fd007
tweak
Feb 3, 2015
f31db3e
Put building the hsearch db out from help.search() into a separate
Feb 3, 2015
3eb78df
Summary: clean up more environment manipulation, mostly in methods pa…
Feb 4, 2015
7d6bf0a
names() not longer sorts ...
Feb 4, 2015
85d0e3e
and ensure result is sorted
Feb 4, 2015
5045b9f
Fix problem in aspell R filter.
Feb 4, 2015
e6f1ffc
Document and export hsearch_db() and related utilities.
Feb 4, 2015
0d51913
Improve checking/processing of Authors@R maintainer specs.
Feb 4, 2015
94c7fd3
Sort environment name extractions when it matters
Feb 4, 2015
f1330af
more on OpenMP on Windows
Feb 5, 2015
cd21f85
one missed sorted = TRUE, legibility
Feb 5, 2015
d1865fb
clarifications on the ordering of names
Feb 5, 2015
91b721a
pointless to report that the URL is opened after its type/size has be…
Feb 5, 2015
9edbd6d
Updated.
Feb 5, 2015
ac49ba8
Avoid repeated call to help.search() when printing its results as HTML
Feb 5, 2015
dd0604e
tweak wording
Feb 5, 2015
51b4ba8
add to the :: / ::: checks - notably for lazyloaded NULL data sets
Feb 5, 2015
5fd1a98
- getExportedValue() - do not error on lazyloaded data set with value…
Feb 5, 2015
0245e3b
new .getNamespaceInfo() for speeding up internal code
Feb 5, 2015
a6e088d
fix breakage of 67735
Feb 5, 2015
782bf9a
Have help search take non-standard Rd keyword entries as concepts, and
Feb 5, 2015
c70b709
Improve extracting URLs from HTML.
Feb 5, 2015
fbee935
forgotten in r67734
Feb 5, 2015
b2312a2
add check catching r67735`s stats4::show |-> NULL bug
Feb 5, 2015
970543c
Add the definition formula, and an example function "proving" it, th…
Feb 6, 2015
06679af
more tweaks of wininet support, doc updates
Feb 6, 2015
778af3f
catch up with R-patched
Feb 6, 2015
33abf1b
tweak
Feb 6, 2015
3afffcd
more on names, titles and descriptions
Feb 6, 2015
775dd3f
Fix inconsistent subclass information when using
Feb 6, 2015
957ab86
Add lengths() function for getting the length of every element in a list
Feb 6, 2015
459f3d8
Description fields should be sentences
Feb 6, 2015
add2684
update output -- forgotten by others in a couple of files
Feb 6, 2015
2ca6c15
typo
Feb 6, 2015
8c6ca77
Add missing lengths.R
Feb 7, 2015
c343b88
Fix protection stack in lengths() for long vectors
Feb 7, 2015
6e3193a
begin to check Title and Description fields
Feb 7, 2015
9752fb2
do not add non-reproducible examples
Feb 7, 2015
b712738
add toTitleCase
Feb 7, 2015
ce6d09f
the whole point of this was to run the \donttest parts
Feb 7, 2015
00be4ab
getElementLength() needed R_xlen_t as index for long vectors
Feb 7, 2015
07c205d
incoming check for title case in Title field
Feb 7, 2015
a875a28
One new mirror in Algiers, Algeria.
Feb 7, 2015
82a9db6
Move reQuote() to top level.
Feb 7, 2015
0d5db9e
Improve extracting URLs from HTML and Rd.
Feb 7, 2015
fe8ac1b
tweak wording
Feb 7, 2015
65c628b
missing parentheses
Feb 7, 2015
8e0f76a
add non-documentation about new .getNamespaceInfo()
Feb 7, 2015
5d1922d
PR#16196, documenting demo index
Feb 8, 2015
225f000
improvements
Feb 8, 2015
6e956f5
typo
Feb 8, 2015
375d535
tweak
Feb 9, 2015
fcdd0dd
update
Feb 9, 2015
c746927
tweak
Feb 9, 2015
8c0232f
allow single-quoted terms in titles
Feb 9, 2015
3e48632
corruption
Feb 9, 2015
8353e7a
port changes from trunk
Feb 9, 2015
ef4c42b
do custom splitting in C, treat "- " as a dash
Feb 9, 2015
6e2d9f7
back out r67776
Feb 10, 2015
1b09531
copy over a declared encoding
Feb 11, 2015
63ec845
it seems some users do not realize that update.packages() calls insta…
Feb 11, 2015
f8901c1
logically Title comes before Description
Feb 11, 2015
9c4e705
Description fields should be used to explain package names.
Feb 11, 2015
87a2e1d
add incoming check of the Description field
Feb 11, 2015
64f6ae8
re-word
Feb 12, 2015
532c2d5
update to 2015a
Feb 12, 2015
15d85a8
be current, even if only date was changed
Feb 12, 2015
6c6fd85
update
Feb 12, 2015
356f807
add comment
Feb 12, 2015
ecd0ab4
add comment
Feb 12, 2015
7b7f623
some unused assignments
Feb 12, 2015
be4f490
need to work without recommended packages, clean up after fails
Feb 12, 2015
ed217a5
improve checking without recommended packages
Feb 12, 2015
f48697e
update
Feb 12, 2015
820e020
commnet/remove unused assignments reported by codetools
Feb 12, 2015
f9637f5
wish of PR#16198
Feb 12, 2015
a2e4317
correct xtfrm.Surv
Feb 12, 2015
0363ea9
typo
Feb 12, 2015
dc56b01
tweak for menu-based installs
Feb 13, 2015
a44fb56
warn on gen.cl(), remove long-outdated references to S
Feb 13, 2015
60fa2c2
markup, grammar, clarification
Feb 14, 2015
fef8c22
white space
Feb 14, 2015
40211a6
rm one unused assignment [all the others are FPs]
Feb 14, 2015
c396a6a
rbind2 / cbind2 : default methods should have '...' as generic
Feb 14, 2015
e595254
UBSAN updates
Feb 15, 2015
271aa18
fix PR#16205, legibility
Feb 15, 2015
217c25b
move checks for 3.1.x above those for 3.2.0
Feb 15, 2015
2077151
update
Feb 15, 2015
ba303da
mention how to use parallel compressors
Feb 15, 2015
0dc4986
more on parallel compression
Feb 15, 2015
bcce4e3
typo
Feb 16, 2015
70ba78c
PROTECT fix in printAttributes; from Tomas Kalibera.
Feb 17, 2015
c14f1e6
valueClass check in generic happens in a separate call to simplify st…
Feb 17, 2015
354e3ab
Changes for compatibility with gcc 4.9.2 Windows toolchain.
Feb 18, 2015
7cf4246
Corrected test
Feb 19, 2015
54ae469
Fix for mode<- (PR#16215)
Feb 19, 2015
aaf3efc
Copyright date.
Feb 19, 2015
3921e73
Install run-time DLLs into the bin directories
Feb 19, 2015
431a78d
add case
Feb 20, 2015
14a028a
for those who take this literally
Feb 20, 2015
f45f648
update
Feb 20, 2015
2eb0bed
doc improvements
Feb 20, 2015
4080aa6
add typeof check in image.default
Feb 20, 2015
19509a6
Tweak internal C code of cbind()/rbind() to work better with S4.
Feb 20, 2015
c019002
cannot \link{} to hidden (and hence undocumented) functions
Feb 20, 2015
6823ed8
Windows: Conditionalize copying of 4.9.2 dlls.
Feb 20, 2015
36c9130
cbind()/rbind(): tweak another border case
Feb 20, 2015
53677e3
white space (notably two blanks after ".")
Feb 20, 2015
98378e6
tweak wording
Feb 21, 2015
aa17f45
markup
Feb 21, 2015
4d52aaa
more bad starts
Feb 21, 2015
edb4361
match with R-patched
Feb 21, 2015
dde9d91
updates
Feb 21, 2015
a5822a9
group UTILITIES entries together
Feb 21, 2015
4166b58
cbind tweak - keeps test ok, even when "old" Matrix is accidentally used
Feb 21, 2015
48428b8
add note
Feb 22, 2015
a3f9e80
Spelling.
Feb 22, 2015
1016abf
supposed to be able to check without recommended packages, and reg-S4…
Feb 22, 2015
3a831c5
better if no recommended packages
Feb 22, 2015
9fcbe4e
Add functionality for handling CRAN package Rd xrefs.
Feb 22, 2015
7d7d3d1
Allow filters to pass additional control arguments.
Feb 22, 2015
56bf99b
Be consistent about case in hsearch db variable names.
Feb 22, 2015
8e71522
Add (internal) convenience function aspell_package().
Feb 22, 2015
63ff278
Needed for new static lib Windows build. No longer need run-time dll…
Feb 23, 2015
3e5265d
tweak
Feb 23, 2015
6410399
update
Feb 23, 2015
768bc22
bessel[JY](x,nu) for very large nu (PR #15554)
Feb 23, 2015
ab1d378
also address 'issue #1' from PR#15554 (==> typically slightly less w…
Feb 23, 2015
70bfae5
suppress warnings seen with BiSEp and BioC 3.1
Feb 25, 2015
71f32fe
besselJ() -- belongs to r67886
Feb 25, 2015
86f2397
update from R-patched (!) {before doing the radical changes for PR#15…
Feb 25, 2015
d7f76df
using R_ifDEBUG_printf() instead of #if(..) REprintf()
Feb 25, 2015
81f27ac
tweak, especially for book titles
Feb 26, 2015
e9a29bc
remove escape from \%
Feb 26, 2015
a7ae50d
add comment about encoded URLs
Feb 26, 2015
6c91209
remove escape when needed in \href
Feb 26, 2015
6d897c3
remove escapes from \%, avoid further encoding of already encoded URLs
Feb 26, 2015
7662b9d
URLencode does not by default re-encode URLs which appear to be encoded
Feb 26, 2015
8e0a49e
update
Feb 26, 2015
ff6b605
qbeta() much more sophisticated (though not beautiful), notably in ex…
Feb 26, 2015
b299b14
stress verbatim is not literally so
Feb 26, 2015
4897310
Make \\href like \\url in Rd.
Feb 26, 2015
3406005
add escapes for %
Feb 27, 2015
24bf492
cosmetic
Feb 27, 2015
6cf068a
AIC(), BIC(), nobs() for mod <- arima(..): "RFC"
Feb 27, 2015
25c6929
report --as-cran as an option
Feb 28, 2015
b26831f
add to options report
Mar 1, 2015
7a557f6
clean up
Mar 1, 2015
1521a4d
clean up code, document what cleanups are done for URLs
Mar 1, 2015
87f4447
update
Mar 1, 2015
7431d5d
tweak for Firefox 36.0
Mar 2, 2015
47eb85c
s / NA_LOGICAL / MLOGICAL_NA / as we are "in Mathlib"
Mar 2, 2015
3e72090
print.pairwise.htest() now reacts to increasing options(digits)
Mar 2, 2015
b0e708d
updated to code completion, support loaded namespaces, custom completer
Mar 3, 2015
571c1cb
When completing inside a function, give argument names before other c…
Mar 3, 2015
a68b4d6
some people remove recommended packages ....
Mar 3, 2015
76cd2a1
modernize language
Mar 3, 2015
e92b4c1
document the nobs(<arima>) change + example
Mar 3, 2015
7e90613
print.htest() and print.power.htest() now also have and obey a `digit…
Mar 4, 2015
0d02df7
rm one extraneous "d"
Mar 4, 2015
4442187
Update for R 3.1.3 release on 2015-03-09.
Mar 4, 2015
38b5bfb
Give an error when x is a higher-dimensional array.
Mar 4, 2015
92f1be7
Added API from R 3.2 for creating evaluated promises.
kmillar May 20, 2015
e7cf256
Enable debugging to be globally disabled.
kmillar May 20, 2015
8119337
Merge in memory management / reference counting macros from R 3.2
kmillar May 23, 2015
455f171
Add the 'Rf_allocFormalsList' family of functions from R 3.2
kmillar May 23, 2015
eeca2e9
Add some more symbol table shortcuts from R 3.2
kmillar May 23, 2015
b0ff706
Merge commit '38b5bfb' into r_3_2_sync
kmillar Jun 8, 2015
23cda8c
Fix a number of bugs arising from the R 3.2 merge.
kmillar Jun 9, 2015
bb40907
Minor changes to the error and warning messages expected in unit
kmillar Jun 9, 2015
c42b587
Download the recommended packages before configuring on travis.
kmillar Jun 9, 2015
495fb0f
Fixup some bad printf format specifications.
kmillar Jun 10, 2015
3c7afcc
Fixed a number of bugs found by running the testr testsuite.
kmillar Jun 10, 2015
34a2259
Treat R_Srcref as global root for GC.
kmillar Jun 23, 2015
99c6461
Change the way the JIT compiler rethrows unhandled exceptions. Fixes an
kmillar Jun 23, 2015
8ca9b4a
Merge branch 'r_3_2_sync' of github.com:kmillar/cxxr into r_3_2_sync
kmillar Jun 23, 2015
be9e904
Delete accidentally commited file.
kmillar Jun 26, 2015
6aa2f7b
Fix some garbage collection bugs.
kmillar Jun 26, 2015
69be83d
Fix an error in a comment.
kmillar Jun 26, 2015
ac311f3
Fixed a bug in the warnings system that caused last.warning() to fail.
kmillar Jul 3, 2015
3bb7192
Make it a compile-time error to attempt to use a GCEdge or
kmillar Aug 9, 2015
2c13512
Change the set of transparent builtin functions to match CR's behaviour.
kmillar Aug 19, 2015
9489688
Fix the handling of [] with no arguments.
kmillar Aug 19, 2015
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ install:
libboost1.48-all-dev
gfortran
script:
- tools/rsync-recommended
- ./configure
--enable-llvm-jit=yes
--enable-byte-compiled-packages=no
Expand Down
11 changes: 8 additions & 3 deletions Makeconf.in
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ CXXFLAGS = @CXXFLAGS@
CPICFLAGS = @CPICFLAGS@
CXXPICFLAGS = @CXXPICFLAGS@
CPPFLAGS = @CPPFLAGS@
CURL_CPPFLAGS = @CURL_CPPFLAGS@
CURL_LIBS = @CURL_LIBS@
DEFS = @DEFS@ @R_DEFS@
DISTDIR_TAR_EXCLUDE = --exclude=.svn --exclude=Makefile --exclude="*.o" --exclude="*$(SHLIB_EXT)" --exclude="*~"
DYLIB_EXT = @DYLIB_EXT@
Expand Down Expand Up @@ -56,7 +58,10 @@ INSTALL_DIR = ${INSTALL} -d
LDFLAGS = @LDFLAGS@
LIBINTL= @LIBINTL@
LIBM = @LIBM@
LIBR = @LIBR@
LIBR0 = @LIBR0@
LIBR1 = @LIBR1@
LIBR = @LIBR0@ @LIBR1@
LIBS = @LIBS@
LIBS = @LIBS@ @LLVM_LDFLAGS@ @LLVM_LIBS@
LIBnn = @LIBnn@
LIBTOOL = @LIBTOOL@
Expand All @@ -67,7 +72,7 @@ MAIN_CXXFLAGS =
MAIN_FFLAGS = @MAIN_FFLAGS@
MAIN_LD = @MAIN_LD@@BUILD_LTO_TRUE@ $(CFLAGS)
MAIN_LDFLAGS = @MAIN_LDFLAGS@ $(BOOST_LDFLAGS) @WANT_R_SHLIB_FALSE@ @USE_EXPORTFILES_TRUE@ -Wl,-bE:$(top_builddir)/etc/R.exp
MAIN_LINK = $(MAIN_LD) $(MAIN_LDFLAGS) $(LDFLAGS)
MAIN_LINK = $(MAIN_LD) $(MAIN_LDFLAGS) $(LIBR0) $(LDFLAGS)
## need this for bootstrapping
MKINSTALLDIRS = @R_SHELL@ $(top_srcdir)/src/scripts/mkinstalldirs.in
NOTANGLE = @NOTANGLE@
Expand All @@ -94,7 +99,7 @@ SHLIB_CFLAGS = @SHLIB_CFLAGS@
SHLIB_FFLAGS = @SHLIB_FFLAGS@
SHLIB_LD = @SHLIB_LD@
SHLIB_LDFLAGS = @SHLIB_LDFLAGS@@BUILD_LTO_TRUE@ $(SHLIB_LTO)
SHLIB_LINK = $(SHLIB_LD) $(SHLIB_LDFLAGS) $(LDFLAGS)
SHLIB_LINK = $(SHLIB_LD) $(SHLIB_LDFLAGS) $(LIBR0) $(LDFLAGS)
SHLIB_LTO = $(CFLAGS) $(CPICFLAGS)
STRIP_LIBS = @striplib@
STRIP_STATIC_LIBS = @stripstaticlib@
Expand Down
49 changes: 26 additions & 23 deletions Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@ top_builddir = .
include $(top_builddir)/Makeconf

distdir = $(PACKAGE)-$(VERSION)
INSTFILES = COPYING NEWS.2 NEWS.1 NEWS.0
## plus NEWS and NEWS.pdf, but need to wait until they are generated
NON_SVN_INSTFILES = SVN-REVISION
INSTFILES = COPYING
NON_GIT_INSTFILES = GIT-REVISION
DISTFILES = $(INSTFILES) \
ChangeLog INSTALL README VERSION VERSION-NICK \
Makeconf.in Makefile.in Makefile.fw \
Expand Down Expand Up @@ -44,7 +43,7 @@ LIBTOOL_DEPS = @LIBTOOL_DEPS@
libtool: $(LIBTOOL_DEPS)
$(SHELL) ./config.status --recheck

R: Makefile svnonly
R: Makefile gitonly
@if test "$(BUILDDIR_IS_SRCDIR)" = no ; then \
for f in $(INSTFILES); do \
$(INSTALL_DATA) $(srcdir)/$${f} $(top_builddir); \
Expand Down Expand Up @@ -84,52 +83,56 @@ install install-strip:
@echo "consequently, installation is currently disabled."
@false

CXXR-install CXXR-install-strip: installdirs svnonly
CXXR-install CXXR-install-strip: installdirs gitonly
@for d in $(SUBDIRS); do \
(cd $${d} && $(MAKE) $@) || exit 1; \
done
@for f in $(INSTFILES); do \
$(INSTALL_DATA) $(srcdir)/$${f} "$(DESTDIR)$(rhome)"; \
done
@for f in NEWS NEWS.pdf $(NON_SVN_INSTFILES); do \
@for f in $(NON_GIT_INSTFILES); do \
$(INSTALL_DATA) $${f} "$(DESTDIR)$(rhome)"; \
done
@WANT_R_FRAMEWORK_TRUE@ $(MAKE) -f $(srcdir)/Makefile.fw top_srcdir=$(top_srcdir) $@

svnonly:
gitonly:
@if test ! -f "$(srcdir)/doc/FAQ" || test -f non-tarball ; then \
(cd doc/manual && $(MAKE) front-matter html-non-svn) ; \
(cd doc/manual && $(MAKE) front-matter html-non-git) ; \
touch non-tarball ; \
(cd $(srcdir); LC_ALL=C TZ=GMT svn info || $(ECHO) "Revision: -99") 2> /dev/null \
| sed -n -e '/^Revision/p' -e '/^Last Changed Date/'p \
| cut -d' ' -f1,2,3,4 > SVN-REVISION-tmp ; \
if test "`cat SVN-REVISION-tmp`" = "Revision: -99"; then \
$(ECHO) "ERROR: not an svn checkout"; \
(cd $(srcdir); LC_ALL=C TZ=GMT \
git log -n 1 --date=short \
--format="Revision: %h%nLast Changed Date: %cd") \
2> /dev/null > GIT-REVISION-tmp; \
if test ! -s GIT-REVISION-tmp; then \
$(ECHO) "ERROR: not an git checkout"; \
exit 1; \
fi; \
$(SHELL) $(top_srcdir)/tools/move-if-change SVN-REVISION-tmp SVN-REVISION ; \
rm -f SVN-REVISION-tmp ; \
$(SHELL) $(top_srcdir)/tools/move-if-change GIT-REVISION-tmp GIT-REVISION ; \
rm -f GIT-REVISION-tmp ; \
else \
if test "$(BUILDDIR_IS_SRCDIR)" = no ; then \
for f in $(NON_SVN_INSTFILES); do \
for f in $(NON_GIT_INSTFILES); do \
$(INSTALL_DATA) $(srcdir)/$${f} $(top_builddir); \
done \
fi \
fi

libR_la = lib/libR$(DYLIB_EXT)
@WANT_R_STATIC_FALSE@libR_la = libR$(DYLIB_EXT)
@WANT_R_STATIC_TRUE@libR_la = libR.a
install-libR:
@if test -f $(libR_la); then $(MAKE) install-libR-exists; fi
@if test -f lib$(R_ARCH)/$(libR_la); then $(MAKE) install-libR-exists; fi
install-libR-exists:
@$(MKINSTALLDIRS) "$(DESTDIR)${libdir}"
@$(INSTALL_DATA) -m755 $(libR_la) "$(DESTDIR)${libdir}"
@$(INSTALL_DATA) -m755 lib$(R_ARCH)/$(libR_la) "$(DESTDIR)${libdir}"
uninstall-libR:
@rm -f "$(DESTDIR)${libdir}/$(libR_la)"

installdirs:
@$(MKINSTALLDIRS) "$(DESTDIR)$(rhome)"
uninstall:
@(for d in $(SUBDIRS); do rsd="$${d} $${rsd}"; done; \
for d in $${rsd}; do (cd $${d} && $(MAKE) $@); done)
@for f in NEWS NEWS.pdf $(INSTFILES) $(NON_SVN_INSTFILES); do \
@for f in $(INSTFILES) $(NON_GIT_INSTFILES); do \
rm -f "$(DESTDIR)$(rhome)/$${f}"; \
done
@rm -rf "$(DESTDIR)$(Rexecbindir)" "$(DESTDIR)$(rhome)/lib"
Expand All @@ -150,10 +153,10 @@ distclean: clean
@rm -f po/Makefile
-@rm -rf bin include lib library modules gnome
@if test -f non-tarball ; then \
rm -f $(NON_SVN_INSTFILES) NEWS NEWS.pdf non-tarball doc/FAQ doc/RESOURCES doc/html/resources.html doc/html/NEWS.html; \
rm -f $(NON_GIT_INSTFILES) non-tarball doc/FAQ doc/RESOURCES doc/html/resources.html doc/html/NEWS.html; \
fi
@if test "$(BUILDDIR_IS_SRCDIR)" = no ; then \
rm -f $(NON_SVN_INSTFILES); \
rm -f $(NON_GIT_INSTFILES); \
rm -rf $(SUBDIRS) $(SUBDIRS_WITH_NO_BUILD); \
fi
-@rm -rf libconftest.dSYM
Expand Down Expand Up @@ -188,7 +191,7 @@ distdir: $(DISTFILES) vignettes
|| ln $(srcdir)/$${f} $(distdir)/$${f} 2>/dev/null \
|| cp -p $(srcdir)/$${f} $(distdir)/$${f}; \
done
@for f in NEWS NEWS.pdf $(NON_SVN_INSTFILES) ; do \
@for f in $(NON_GIT_INSTFILES) ; do \
cp -p $${f} $(distdir)/$${f}; \
done
@for d in $(SUBDIRS); do \
Expand Down
Loading