aboutsummaryrefslogtreecommitdiffstats
path: root/make-dist
diff options
context:
space:
mode:
authorMiles Bader2007-12-06 09:51:45 +0000
committerMiles Bader2007-12-06 09:51:45 +0000
commit0bd508417142ff377f34aec8dcec9438d9175c2c (patch)
tree4d60fe09e5cebf7d79766b11e9cda8cc1c9dbb9b /make-dist
parent98fe991da804a42f53f6a5e84cd5eab18a82e181 (diff)
parent9fb1ba8090da3528de56158a79bd3527d31c7f2f (diff)
downloademacs-0bd508417142ff377f34aec8dcec9438d9175c2c.tar.gz
emacs-0bd508417142ff377f34aec8dcec9438d9175c2c.zip
Merge from emacs--devo--0
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-294
Diffstat (limited to 'make-dist')
-rwxr-xr-xmake-dist32
1 files changed, 9 insertions, 23 deletions
diff --git a/make-dist b/make-dist
index 8a67e7a459c..08768e16beb 100755
--- a/make-dist
+++ b/make-dist
@@ -294,7 +294,7 @@ mkdir ${tempdir}
294### tar file; this means that people can start reading the INSTALL and 294### tar file; this means that people can start reading the INSTALL and
295### README while the rest of the tar file is still unpacking. Whoopee. 295### README while the rest of the tar file is still unpacking. Whoopee.
296echo "Making links to top-level files" 296echo "Making links to top-level files"
297ln FTP INSTALL README BUGS move-if-change ${tempdir} 297ln INSTALL README BUGS move-if-change ${tempdir}
298ln ChangeLog Makefile.in configure configure.in ${tempdir} 298ln ChangeLog Makefile.in configure configure.in ${tempdir}
299ln config.bat make-dist update-subdirs vpath.sed ${tempdir} 299ln config.bat make-dist update-subdirs vpath.sed ${tempdir}
300### Copy these files; they're cross-filesystem symlinks. 300### Copy these files; they're cross-filesystem symlinks.
@@ -318,15 +318,15 @@ for subdir in lisp site-lisp \
318 leim/SKK-DIC leim/ja-dic leim/quail \ 318 leim/SKK-DIC leim/ja-dic leim/quail \
319 src src/m src/s src/bitmaps lib-src oldXMenu lwlib \ 319 src src/m src/s src/bitmaps lib-src oldXMenu lwlib \
320 nt nt/inc nt/inc/sys nt/inc/arpa nt/inc/netinet nt/icons \ 320 nt nt/inc nt/inc/sys nt/inc/arpa nt/inc/netinet nt/icons \
321 etc etc/charsets etc/e etc/gnus \ 321 etc etc/charsets etc/e etc/gnus etc/nxml \
322 etc/images etc/images/ezimage etc/images/gnus etc/images/gud \ 322 etc/images etc/images/ezimage etc/images/gnus etc/images/gud \
323 etc/images/icons etc/images/low-color etc/images/mail \ 323 etc/images/icons etc/images/low-color etc/images/mail \
324 etc/images/smilies etc/images/smilies/grayscale \ 324 etc/images/smilies etc/images/smilies/grayscale \
325 etc/images/smilies/medium etc/images/tree-widget \ 325 etc/images/smilies/medium etc/images/tree-widget \
326 etc/images/tree-widget/default etc/images/tree-widget/folder \ 326 etc/images/tree-widget/default etc/images/tree-widget/folder \
327 etc/refcards etc/tutorials info doc doc/emacs doc/misc doc/man \ 327 etc/refcards etc/schema etc/tutorials info doc doc/emacs \
328 doc/lispref doc/lispintro m4 msdos vms mac mac/inc \ 328 doc/misc doc/man doc/lispref doc/lispintro m4 msdos vms mac \
329 mac/inc/sys mac/src mac/Emacs.app mac/Emacs.app/Contents \ 329 mac/inc mac/inc/sys mac/src mac/Emacs.app mac/Emacs.app/Contents \
330 mac/Emacs.app/Contents/MacOS mac/Emacs.app/Contents/Resources \ 330 mac/Emacs.app/Contents/MacOS mac/Emacs.app/Contents/Resources \
331 mac/Emacs.app/Contents/Resources/English.lproj 331 mac/Emacs.app/Contents/Resources/English.lproj
332do 332do
@@ -374,7 +374,7 @@ echo "Making links to \`lisp' and its subdirectories"
374 374
375 for file in $subdirs; do 375 for file in $subdirs; do
376 echo " lisp/$file" 376 echo " lisp/$file"
377 mkdir ../${tempdir}/lisp/$file 377 mkdir -p ../${tempdir}/lisp/$file
378 ln $file/[a-zA-Z0-9]*.el ../${tempdir}/lisp/$file 378 ln $file/[a-zA-Z0-9]*.el ../${tempdir}/lisp/$file
379 ln $file/[a-zA-Z0-9]*.elc ../${tempdir}/lisp/$file 379 ln $file/[a-zA-Z0-9]*.elc ../${tempdir}/lisp/$file
380 for img in $file/[a-zA-Z]*.xpm $file/[a-zA-Z]*.xbm $file/[a-zA-Z]*.pbm; do 380 for img in $file/[a-zA-Z]*.xpm $file/[a-zA-Z]*.xbm $file/[a-zA-Z]*.pbm; do
@@ -575,7 +575,8 @@ echo "Making links to \`etc'"
575### tex litter. 575### tex litter.
576(cd etc 576(cd etc
577 files=`ls -d * | grep -v CVS | grep -v RCS | grep -v 'Old' | grep -v '^e$' \ 577 files=`ls -d * | grep -v CVS | grep -v RCS | grep -v 'Old' | grep -v '^e$' \
578 | grep -v '^charsets$' | grep -v '^images$' | grep -v '^refcards$' | grep -v '^tutorials$'` 578 | grep -v '^charsets$' | grep -v '^gnus$' | grep -v '^images$' | grep -v '^nxml$' \
579 | grep -v '^refcards$' | grep -v '^tutorials$'| grep -v '^schema$'`
579 ln $files ../${tempdir}/etc 580 ln $files ../${tempdir}/etc
580 ## If we ended up with a symlink, or if we did not get anything 581 ## If we ended up with a symlink, or if we did not get anything
581 ## due to a cross-device symlink, copy the file. 582 ## due to a cross-device symlink, copy the file.
@@ -598,7 +599,7 @@ echo "Making links to \`etc'"
598 rm -f DOC* *~ \#*\# *.dvi *.log *.orig *.rej *,v =* core 599 rm -f DOC* *~ \#*\# *.dvi *.log *.orig *.rej *,v =* core
599 rm -f TAGS) 600 rm -f TAGS)
600 601
601for dir in etc/charsets etc/e etc/gnus etc/tutorials etc/refcards ; do 602for dir in etc/charsets etc/e etc/gnus etc/nxml etc/tutorials etc/refcards etc/schema ; do
602 echo "Making links to \`${dir}'" 603 echo "Making links to \`${dir}'"
603 (cd ${dir} 604 (cd ${dir}
604 ln `ls -d * | grep -v CVS | grep -v RCS` ../../${tempdir}/${dir} 605 ln `ls -d * | grep -v CVS | grep -v RCS` ../../${tempdir}/${dir}
@@ -709,21 +710,6 @@ for subdir in . etc info leim lib-src lisp lwlib mac msdos nt src; do
709 cp COPYING ${tempdir}/${subdir} 710 cp COPYING ${tempdir}/${subdir}
710done 711done
711 712
712#### Make sure that there aren't any hard links between files in the
713#### distribution; people with afs can't deal with that. Okay,
714#### actually we just re-copy anything with a link count greater
715#### than two. (Yes, strictly greater than 2 is correct; since we
716#### created these files by linking them in from the original tree,
717#### they'll have exactly two links normally.)
718####
719#### Commented out since it's not strictly necessary; it should suffice
720#### to just break the link on alloca.c.
721#echo "Breaking intra-tree links."
722#find ${tempdir} ! -type d -links +2 \
723# -exec cp -p {} $$ \; -exec rm -f {} \; -exec mv $$ {} \;
724rm -f $tempdir/lib-src/alloca.c
725cp $tempdir/src/alloca.c $tempdir/lib-src/alloca.c
726
727if [ "${newer}" ]; then 713if [ "${newer}" ]; then
728 echo "Removing files older than $newer" 714 echo "Removing files older than $newer"
729 ## We remove .elc files unconditionally, on the theory that anyone picking 715 ## We remove .elc files unconditionally, on the theory that anyone picking