The R Project SVN R

Rev

Rev 52992 | Rev 65998 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 52992 Rev 60640
Line 12... Line 12...
12
 
12
 
13
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
13
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
14
DISTFILES = Makefile.in
14
DISTFILES = Makefile.in
15
 
15
 
16
## subdirectories of R_HOME/share
16
## subdirectories of R_HOME/share
17
SUBDIRS_WITH_NO_BUILD = R encodings licenses make sh texmf java
17
SUBDIRS_WITH_NO_BUILD = R dictionaries encodings licenses make sh texmf java
18
 
18
 
19
all: Makefile R
19
all: Makefile R
20
 
20
 
21
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
21
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
22
	@cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
22
	@cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
Line 31... Line 31...
31
 
31
 
32
install: install-message installdirs install-sources
32
install: install-message installdirs install-sources
33
installdirs:
33
installdirs:
34
	@$(MKINSTALLDIRS) "$(DESTDIR)$(rsharedir)"
34
	@$(MKINSTALLDIRS) "$(DESTDIR)$(rsharedir)"
35
	@$(MKINSTALLDIRS) "$(DESTDIR)$(rsharedir)/R"
35
	@$(MKINSTALLDIRS) "$(DESTDIR)$(rsharedir)/R"
-
 
36
	@$(MKINSTALLDIRS) "$(DESTDIR)$(rsharedir)/dictionaries"
36
	@$(MKINSTALLDIRS) "$(DESTDIR)$(rsharedir)/encodings"
37
	@$(MKINSTALLDIRS) "$(DESTDIR)$(rsharedir)/encodings"
37
	@$(MKINSTALLDIRS) "$(DESTDIR)$(rsharedir)/java"
38
	@$(MKINSTALLDIRS) "$(DESTDIR)$(rsharedir)/java"
38
	@$(MKINSTALLDIRS) "$(DESTDIR)$(rsharedir)/licenses"
39
	@$(MKINSTALLDIRS) "$(DESTDIR)$(rsharedir)/licenses"
39
	@$(MKINSTALLDIRS) "$(DESTDIR)$(rsharedir)/make"
40
	@$(MKINSTALLDIRS) "$(DESTDIR)$(rsharedir)/make"
40
	@$(MKINSTALLDIRS) "$(DESTDIR)$(rsharedir)/sh"
41
	@$(MKINSTALLDIRS) "$(DESTDIR)$(rsharedir)/sh"
Line 46... Line 47...
46
	@$(ECHO) "installing share ..."
47
	@$(ECHO) "installing share ..."
47
install-sources: installdirs
48
install-sources: installdirs
48
	@for f in $(srcdir)/R/*.R; do \
49
	@for f in $(srcdir)/R/*.R; do \
49
	  $(INSTALL_DATA) $${f} "$(DESTDIR)$(rsharedir)/R"; \
50
	  $(INSTALL_DATA) $${f} "$(DESTDIR)$(rsharedir)/R"; \
50
	done
51
	done
-
 
52
	@for f in $(srcdir)/dictionaries/*.rds; do \
-
 
53
	  $(INSTALL_DATA) $${f} "$(DESTDIR)$(rsharedir)/dictionaries"; \
-
 
54
	done
51
	@for f in $(srcdir)/encodings/*; do \
55
	@for f in $(srcdir)/encodings/*; do \
52
	  $(INSTALL_DATA) $${f} "$(DESTDIR)$(rsharedir)/encodings"; \
56
	  $(INSTALL_DATA) $${f} "$(DESTDIR)$(rsharedir)/encodings"; \
53
	done
57
	done
54
	@for f in $(srcdir)/java/*; do \
58
	@for f in $(srcdir)/java/*; do \
55
	  $(INSTALL_DATA) $${f} "$(DESTDIR)$(rsharedir)/java"; \
59
	  $(INSTALL_DATA) $${f} "$(DESTDIR)$(rsharedir)/java"; \