The R Project SVN R

Rev

Rev 88851 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 88851 Rev 89464
Line 29... Line 29...
29
	fi
29
	fi
30
FORCE:
30
FORCE:
31
 
31
 
32
docs:
32
docs:
33
 
33
 
34
install: install-message installdirs install-sources
34
install: install-message installdirs install-sources install-sources2
35
installdirs:
35
installdirs:
36
	@$(MKINSTALLDIRS) "$(DESTDIR)$(rsharedir)"
36
	@$(MKINSTALLDIRS) "$(DESTDIR)$(rsharedir)"
37
	@$(MKINSTALLDIRS) "$(DESTDIR)$(rsharedir)/R"
37
	@$(MKINSTALLDIRS) "$(DESTDIR)$(rsharedir)/R"
38
	@$(MKINSTALLDIRS) "$(DESTDIR)$(rsharedir)/bibliographies"
38
	@$(MKINSTALLDIRS) "$(DESTDIR)$(rsharedir)/bibliographies"
39
	@$(MKINSTALLDIRS) "$(DESTDIR)$(rsharedir)/dictionaries"
39
	@$(MKINSTALLDIRS) "$(DESTDIR)$(rsharedir)/dictionaries"
Line 52... Line 52...
52
	@$(ECHO) "installing share ..."
52
	@$(ECHO) "installing share ..."
53
install-sources: installdirs  @BUILD_TZONE_TRUE@ install-zoneinfo
53
install-sources: installdirs  @BUILD_TZONE_TRUE@ install-zoneinfo
54
	@for f in $(srcdir)/R/*.R; do \
54
	@for f in $(srcdir)/R/*.R; do \
55
	  $(INSTALL_DATA) $${f} "$(DESTDIR)$(rsharedir)/R"; \
55
	  $(INSTALL_DATA) $${f} "$(DESTDIR)$(rsharedir)/R"; \
56
	done
56
	done
57
	@for f in $(srcdir)/bibliographies/*; do \
57
	@for f in $(srcdir)/bibliographies/*.R; do \
58
	  $(INSTALL_DATA) $${f} "$(DESTDIR)$(rsharedir)/bibliographies"; \
58
	  $(INSTALL_DATA) $${f} "$(DESTDIR)$(rsharedir)/bibliographies"; \
59
	done
59
	done
60
	@for f in $(srcdir)/dictionaries/*; do \
60
	@for f in $(srcdir)/dictionaries/*.txt; do \
61
	  $(INSTALL_DATA) $${f} "$(DESTDIR)$(rsharedir)/dictionaries"; \
61
	  $(INSTALL_DATA) $${f} "$(DESTDIR)$(rsharedir)/dictionaries"; \
62
	done
62
	done
63
	@for f in $(srcdir)/encodings/*; do \
63
	@for f in $(srcdir)/encodings/*; do \
64
	  $(INSTALL_DATA) $${f} "$(DESTDIR)$(rsharedir)/encodings"; \
64
	  $(INSTALL_DATA) $${f} "$(DESTDIR)$(rsharedir)/encodings"; \
65
	done
65
	done
Line 92... Line 92...
92
install-strip: install
92
install-strip: install
93
 
93
 
94
install-zoneinfo:
94
install-zoneinfo:
95
	@@R_UNZIPCMD@ -qo $(top_srcdir)/src/extra/tzone/zoneinfo.zip -d "$(DESTDIR)$(rsharedir)"
95
	@@R_UNZIPCMD@ -qo $(top_srcdir)/src/extra/tzone/zoneinfo.zip -d "$(DESTDIR)$(rsharedir)"
96
 
96
 
-
 
97
## installed from builddir, made with R from src/library
-
 
98
install-sources2: installdirs
-
 
99
	@for f in bibliographies/*.rds; do \
-
 
100
	    $(INSTALL_DATA) $${f} "$(DESTDIR)$(rsharedir)/bibliographies"; \
-
 
101
	done
-
 
102
	@for f in dictionaries/*.rds; do \
-
 
103
	    $(INSTALL_DATA) $${f} "$(DESTDIR)$(rsharedir)/dictionaries"; \
-
 
104
	done
-
 
105
 
97
uninstall:
106
uninstall:
98
	@$(ECHO) "uninstalling share ..."
107
	@$(ECHO) "uninstalling share ..."
99
	@rm -Rf "$(DESTDIR)$(rsharedir)"
108
	@rm -Rf "$(DESTDIR)$(rsharedir)"
100
 
109
 
101
## we cannot remove make/vars.mk until distclean as etc/Makeconf includes it.
110
## we cannot remove make/vars.mk until distclean as etc/Makeconf includes it.