The R Project SVN R

Rev

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

Rev 51888 Rev 51917
Line 9... Line 9...
9
subdir = tests/Examples
9
subdir = tests/Examples
10
 
10
 
11
include $(top_builddir)/Makeconf
11
include $(top_builddir)/Makeconf
12
 
12
 
13
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
13
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
14
DISTFILES = Makefile.in  Makefile.win \
14
INSTFILES = \
15
  datasets-Ex.Rout.save grDevices-Ex.Rout.save graphics-Ex.Rout.save \
15
  datasets-Ex.Rout.save grDevices-Ex.Rout.save graphics-Ex.Rout.save \
16
  grid-Ex.Rout.save methods-Ex.Rout.save splines-Ex.Rout.save \
16
  grid-Ex.Rout.save methods-Ex.Rout.save splines-Ex.Rout.save \
17
  stats-Ex.Rout.save stats4-Ex.Rout.save tools-Ex.Rout.save
17
  stats-Ex.Rout.save stats4-Ex.Rout.save tools-Ex.Rout.save
-
 
18
DISTFILES = Makefile.in  Makefile.win $(INSTFILES)
18
 
19
 
19
R_EXE = $(top_builddir)/bin/R --slave --vanilla
20
R_EXE = $(top_builddir)/bin/R --slave --vanilla
20
 
21
 
21
all: Makefile test-Examples-Base
22
all: Makefile test-Examples-Base
22
 
23
 
Line 44... Line 45...
44
	-@rm -f *.R *.Rout *.Rd* *.ps *.tex *.dat* data foo* ex*.gz Makedeps
45
	-@rm -f *.R *.Rout *.Rd* *.ps *.tex *.dat* data foo* ex*.gz Makedeps
45
distclean: clean
46
distclean: clean
46
	-@rm -f *.R*prev .RData sink-examp.txt Makefile
47
	-@rm -f *.R*prev .RData sink-examp.txt Makefile
47
maintainer-clean: distclean
48
maintainer-clean: distclean
48
 
49
 
-
 
50
install-tests:
-
 
51
	@$(MKINSTALLDIRS) "$(DESTDIR)$(rhome)/tests/Examples"
-
 
52
	@for f in $(INSTFILES); do \
-
 
53
	  $(INSTALL_DATA) $(srcdir)/$${f} "$(DESTDIR)$(rhome)/tests/Examples"; \
-
 
54
	done
-
 
55
 
-
 
56
 
49
distdir: $(DISTFILES)
57
distdir: $(DISTFILES)
50
	@for f in $(DISTFILES); do \
58
	@for f in $(DISTFILES); do \
51
	  test -f $(distdir)/$${f} \
59
	  test -f $(distdir)/$${f} \
52
	    || ln $(srcdir)/$${f} $(distdir)/$${f} 2>/dev/null \
60
	    || ln $(srcdir)/$${f} $(distdir)/$${f} 2>/dev/null \
53
	    || cp -p $(srcdir)/$${f} $(distdir)/$${f}; \
61
	    || cp -p $(srcdir)/$${f} $(distdir)/$${f}; \