Permalink
Browse files

improve names of dist tarballs

git-svn-id: https://svn.r-project.org/R/trunk@31560 00db46b3-68df-0310-9c12-caf00c1e9a41
  • Loading branch information...
1 parent ebfc3b6 commit 5f1929916d28c923f9e674a84ae14145b60e75f1 ripley committed Oct 22, 2004
Showing with 6 additions and 3 deletions.
  1. +4 −2 Makefile.in
  2. +2 −1 tools/GETDISTNAME
View
6 Makefile.in
@@ -152,8 +152,10 @@ dist-unix: distdir
-chmod -R a+r $(distdir)
-chmod -R go-w $(distdir)
distname=`$(srcdir)/tools/GETDISTNAME`; \
- GZIP=$(GZIP) $(TAR) czf $${distname}.tar.gz $(distdir)
- rm -rf $(distdir)
+ dirname=`echo $${distname} | sed -e s/_.*//`; \
+ mv $(distdir) $${dirname}; \
+ GZIP=$(GZIP) $(TAR) czf $${distname}.tar.gz $${dirname}; \
+ rm -rf $${dirname}
dist-win:
distdir: $(DISTFILES) vignettes
@rm -rf $(distdir)
View
3 tools/GETDISTNAME
@@ -16,8 +16,9 @@ TOOLS_DIR=`echo ${0} | sed 's%/[^/][^/]*$%%'`
if test "${rev}" = "Under development (unstable)"; then
res="R-devel_"${y}-${m}-${d}
else
+ rev=`echo ${rev} | tr [A-Z] [a-z]`
res="R-${rev}_"${y}-${m}-${d}
fi
fi
echo ${res}
-)
+)

0 comments on commit 5f19299

Please sign in to comment.