diff options
Diffstat (limited to 'make-dist')
-rwxr-xr-x | make-dist | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/make-dist b/make-dist index 08768e16beb..9ab0388275f 100755 --- a/make-dist +++ b/make-dist @@ -7,7 +7,7 @@ #### you should make sure that this script will include it. # Copyright (C) 1995, 1997, 1998, 2000, 2001, 2002, 2003, 2004, 2005, -# 2006, 2007 Free Software Foundation, Inc. +# 2006, 2007, 2008 Free Software Foundation, Inc. # # This file is part of GNU Emacs. # @@ -81,6 +81,10 @@ while [ $# -gt 0 ]; do "--compress") default_gzip="compress" ;; + ## Same with bzip2. + "--bzip2") + default_gzip="bzip2" + ;; "--snapshot") clean_up=yes @@ -92,6 +96,7 @@ while [ $# -gt 0 ]; do "--help") echo "Usage: ${progname} [options]" echo "" + echo " --bzip2 use bzip2 instead of gzip" echo " --clean-up delete staging directories when done" echo " --compress use compress instead of gzip" echo " --newer=TIME don't include files older than TIME" @@ -320,7 +325,9 @@ for subdir in lisp site-lisp \ nt nt/inc nt/inc/sys nt/inc/arpa nt/inc/netinet nt/icons \ etc etc/charsets etc/e etc/gnus etc/nxml \ etc/images etc/images/ezimage etc/images/gnus etc/images/gud \ - etc/images/icons etc/images/low-color etc/images/mail \ + etc/images/icons etc/images/icons/hicolor \ + etc/images/icons/hicolor/*x* etc/images/icons/hicolor/*x*/apps \ + etc/images/low-color etc/images/mail \ etc/images/smilies etc/images/smilies/grayscale \ etc/images/smilies/medium etc/images/tree-widget \ etc/images/tree-widget/default etc/images/tree-widget/folder \ @@ -625,7 +632,7 @@ for dir in etc/images/ezimage etc/images/gnus etc/images/gud etc/images/icons \ done for dir in etc/images/tree-widget/default etc/images/tree-widget/folder \ - etc/images/smilies/grayscale etc/images/smilies/medium ; do + etc/images/smilies/grayscale etc/images/smilies/medium; do echo "Making links to \`${dir}'" (cd ${dir} ln `ls -d * | grep -v CVS | grep -v RCS` ../../../../${tempdir}/${dir} @@ -633,6 +640,14 @@ for dir in etc/images/tree-widget/default etc/images/tree-widget/folder \ rm -f *~ \#*\# *,v =* core) done +for dir in etc/images/icons/hicolor/*x*/apps ; do + echo "Making links to \`${dir}'" + (cd ${dir} + ln `ls -d * | grep -v CVS | grep -v RCS` ../../../../../../${tempdir}/${dir} + cd ../../../../../../${tempdir}/${dir} + rm -f *~ \#*\# *,v =* core) +done + echo "Making links to \`info'" # Don't distribute backups or autosaves. (cd info @@ -733,6 +748,7 @@ if [ "${make_tar}" = yes ]; then )` fi case "${default_gzip}" in + bzip2) gzip_extension=.bz2 ;; compress* ) gzip_extension=.Z ;; * ) gzip_extension=.gz ;; esac |