The R Project SVN R

Rev

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

Rev 18626 Rev 19999
Line 100... Line 100...
100
	  test -f $(distdir)/$${f} \
100
	  test -f $(distdir)/$${f} \
101
	    || ln $(srcdir)/$${f} $(distdir)/$${f} 2>/dev/null \
101
	    || ln $(srcdir)/$${f} $(distdir)/$${f} 2>/dev/null \
102
	    || cp -p $(srcdir)/$${f} $(distdir)/$${f}; \
102
	    || cp -p $(srcdir)/$${f} $(distdir)/$${f}; \
103
	done
103
	done
104
	@for d in $(SUBDIRS); do \
104
	@for d in $(SUBDIRS); do \
105
	  if test -f $${d}/Makefile; then \
-
 
106
	    test -d $(distdir)/$${d} \
105
	  test -d $(distdir)/$${d} \
107
	      || mkdir $(distdir)/$${d} \
106
	    || mkdir $(distdir)/$${d} \
108
	      || exit 1; \
107
	    || exit 1; \
109
	    chmod 755 $(distdir)/$${d}; \
108
	  chmod 755 $(distdir)/$${d}; \
110
	    (cd $${d} && $(MAKE) distdir) \
109
	  (cd $${d} && $(MAKE) distdir) \
111
	      || exit 1; \
-
 
112
	  else \
-
 
113
	    ((cd $(srcdir); $(TAR) -c -f - --exclude=CVS $${d}) \
-
 
114
	        | (cd $(distdir); $(TAR) -x -f -)) \
-
 
115
	      || exit 1; \
110
	    || exit 1; \
116
	  fi; \
-
 
117
	done
111
	done