aboutsummaryrefslogtreecommitdiffstats
path: root/make-dist
diff options
context:
space:
mode:
authorMiles Bader2007-10-11 16:14:00 +0000
committerMiles Bader2007-10-11 16:14:00 +0000
commitecb21060d5c1752d41d7a742be565c59b5fcb855 (patch)
treefadebcd18a69457a1d564f738c3f9bdcf512ab4b /make-dist
parent42af7493ae7e7a14ee508800c7fa75b65a94c143 (diff)
parent58ade22bf16a9ec2ff0aee6c59d8db4d1703e94f (diff)
downloademacs-ecb21060d5c1752d41d7a742be565c59b5fcb855.tar.gz
emacs-ecb21060d5c1752d41d7a742be565c59b5fcb855.zip
Merge from emacs--devo--0
Patches applied: * emacs--devo--0 (patch 866-879) - Merge multi-tty branch - Update from CVS - Merge from emacs--rel--22 Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-257
Diffstat (limited to 'make-dist')
-rwxr-xr-xmake-dist94
1 files changed, 55 insertions, 39 deletions
diff --git a/make-dist b/make-dist
index 99f2d791101..a2b00018d67 100755
--- a/make-dist
+++ b/make-dist
@@ -154,10 +154,10 @@ echo Version numbers are $version and $shortversion
154 154
155if [ $update = yes ]; 155if [ $update = yes ];
156then 156then
157 if grep -s "@set EMACSVER *${shortversion}" ./man/emacs.texi > /dev/null; then 157 if grep -s "@set EMACSVER *${shortversion}" ./doc/emacs/emacs.texi > /dev/null; then
158 true 158 true
159 else 159 else
160 echo "You must update the version number in \`./man/emacs.texi'" 160 echo "You must update the version number in \`./doc/emacs/emacs.texi'"
161 sleep 5 161 sleep 5
162 fi 162 fi
163fi 163fi
@@ -242,9 +242,10 @@ fi
242if [ $update = yes ]; 242if [ $update = yes ];
243then 243then
244 echo "Updating Info files" 244 echo "Updating Info files"
245 (cd man; make -f Makefile.in srcdir=. info) 245 (cd doc/emacs; make -f Makefile.in srcdir=. info)
246 (cd lispref; make -f Makefile.in srcdir=. info) 246 (cd doc/misc; make -f Makefile.in srcdir=. info)
247 (cd lispintro; make -f Makefile.in SHELL=/bin/sh srcdir=. info VPATH=.) 247 (cd doc/lispref; make -f Makefile.in srcdir=. info)
248 (cd doc/lispintro; make -f Makefile.in SHELL=/bin/sh srcdir=. info VPATH=.)
248 249
249 echo "Updating finder, custom and autoload data" 250 echo "Updating finder, custom and autoload data"
250 (cd lisp; make updates EMACS="$EMACS") 251 (cd lisp; make updates EMACS="$EMACS")
@@ -293,7 +294,7 @@ mkdir ${tempdir}
293### 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
294### 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.
295echo "Making links to top-level files" 296echo "Making links to top-level files"
296ln AUTHORS FTP INSTALL README BUGS CONTRIBUTE move-if-change ${tempdir} 297ln FTP INSTALL README BUGS move-if-change ${tempdir}
297ln ChangeLog Makefile.in configure configure.in ${tempdir} 298ln ChangeLog Makefile.in configure configure.in ${tempdir}
298ln config.bat make-dist update-subdirs vpath.sed ${tempdir} 299ln config.bat make-dist update-subdirs vpath.sed ${tempdir}
299### Copy these files; they're cross-filesystem symlinks. 300### Copy these files; they're cross-filesystem symlinks.
@@ -312,7 +313,7 @@ echo "Updating version number in README"
312 313
313 314
314echo "Creating subdirectories" 315echo "Creating subdirectories"
315for subdir in lisp site-lisp lispref lispintro \ 316for subdir in lisp site-lisp \
316 leim leim/CXTERM-DIC leim/MISC-DIC \ 317 leim leim/CXTERM-DIC leim/MISC-DIC \
317 leim/SKK-DIC leim/ja-dic leim/quail \ 318 leim/SKK-DIC leim/ja-dic leim/quail \
318 src src/m src/s src/bitmaps lib-src oldXMenu lwlib \ 319 src src/m src/s src/bitmaps lib-src oldXMenu lwlib \
@@ -322,7 +323,8 @@ for subdir in lisp site-lisp lispref lispintro \
322 etc/images/icons etc/images/low-color etc/images/mail \ 323 etc/images/icons etc/images/low-color etc/images/mail \
323 etc/images/smilies etc/images/tree-widget \ 324 etc/images/smilies etc/images/tree-widget \
324 etc/images/tree-widget/default etc/images/tree-widget/folder \ 325 etc/images/tree-widget/default etc/images/tree-widget/folder \
325 etc/refcards etc/tutorials info man m4 msdos vms mac mac/inc \ 326 etc/refcards etc/tutorials info doc doc/emacs doc/misc doc/man \
327 doc/lispref doc/lispintro m4 msdos vms mac mac/inc \
326 mac/inc/sys mac/src mac/Emacs.app mac/Emacs.app/Contents \ 328 mac/inc/sys mac/src mac/Emacs.app mac/Emacs.app/Contents \
327 mac/Emacs.app/Contents/MacOS mac/Emacs.app/Contents/Resources \ 329 mac/Emacs.app/Contents/MacOS mac/Emacs.app/Contents/Resources \
328 mac/Emacs.app/Contents/Resources/English.lproj 330 mac/Emacs.app/Contents/Resources/English.lproj
@@ -570,7 +572,6 @@ echo "Making links to \`lwlib'"
570echo "Making links to \`etc'" 572echo "Making links to \`etc'"
571### Don't distribute = files, TAGS, DOC files, backups, autosaves, or 573### Don't distribute = files, TAGS, DOC files, backups, autosaves, or
572### tex litter. 574### tex litter.
573### Don't distribute gfdl.1, since no man page references it.
574(cd etc 575(cd etc
575 files=`ls -d * | grep -v CVS | grep -v RCS | grep -v 'Old' | grep -v '^e$' \ 576 files=`ls -d * | grep -v CVS | grep -v RCS | grep -v 'Old' | grep -v '^e$' \
576 | grep -v '^charsets$' | grep -v '^images$' | grep -v '^refcards$' | grep -v '^tutorials$'` 577 | grep -v '^charsets$' | grep -v '^images$' | grep -v '^refcards$' | grep -v '^tutorials$'`
@@ -592,7 +593,7 @@ echo "Making links to \`etc'"
592 fi 593 fi
593 done 594 done
594 cd ../${tempdir}/etc 595 cd ../${tempdir}/etc
595 rm -f fns*.el gfdl.1 596 rm -f fns*.el
596 rm -f DOC* *~ \#*\# *.dvi *.log *.orig *.rej *,v =* core 597 rm -f DOC* *~ \#*\# *.dvi *.log *.orig *.rej *,v =* core
597 rm -f TAGS) 598 rm -f TAGS)
598 599
@@ -639,44 +640,59 @@ echo "Making links to \`info'"
639 ln emacs dummy~ ; ln emacs \#dummy\# 640 ln emacs dummy~ ; ln emacs \#dummy\#
640 rm -f *~ \#*\# core) 641 rm -f *~ \#*\# core)
641 642
642echo "Making links to \`man'" 643echo "Making links to \`doc/emacs'"
643(cd man 644(cd doc/emacs
644 ln *.texi *.aux *.cps *.fns *.kys *.vrs ../${tempdir}/man 645 ln *.texi *.aux *.cps *.fns *.kys *.vrs ../../${tempdir}/doc/emacs
645 ln makefile.w32-in ../${tempdir}/man 646 ln makefile.w32-in ../../${tempdir}/doc/emacs
646 test -f README && ln README ../${tempdir}/man 647 test -f README && ln README ../../${tempdir}/doc/emacs
647 test -f Makefile.in && ln Makefile.in ../${tempdir}/man 648 test -f Makefile.in && ln Makefile.in ../../${tempdir}/doc/emacs
648 ln ChangeLog ../${tempdir}/man 649 ln ChangeLog ../../${tempdir}/doc/emacs
649 test -f split-man && ln split-man ../${tempdir}/man 650 cp texinfo.tex ../../${tempdir}/doc/emacs
650 cp texinfo.tex ../${tempdir}/man 651 cd ../../${tempdir}/doc/emacs
651 cd ../${tempdir}/man
652 rm -f \#*\# =* *~ core emacs-index* *.Z *.z xmail 652 rm -f \#*\# =* *~ core emacs-index* *.Z *.z xmail
653 rm -f emacs.?? termcap.?? gdb.?? *.log *.toc *.dvi *.oaux) 653 rm -f emacs.?? termcap.?? gdb.?? *.log *.toc *.dvi *.oaux)
654 654
655echo "Making links to \`lispref'" 655echo "Making links to \`doc/misc'"
656(cd lispref 656(cd doc/misc
657 ln `ls -1 *.texi` ../${tempdir}/lispref 657 ln *.texi *.aux *.cps *.fns *.kys *.vrs ../../${tempdir}/doc/misc
658 ln *.aux *.cps *.fns *.kys *.vrs ../${tempdir}/lispref 658 ln makefile.w32-in ../../${tempdir}/doc/misc
659 ln *.txt *.el spellfile tindex.pl ../${tempdir}/lispref 659 test -f README && ln README ../../${tempdir}/doc/misc
660 ln makefile.w32-in ../${tempdir}/lispref 660 test -f Makefile.in && ln Makefile.in ../../${tempdir}/doc/misc
661 test -f README && ln README ../${tempdir}/lispref 661 ln ChangeLog ../../${tempdir}/doc/misc
662 test -f Makefile.in && ln Makefile.in ../${tempdir}/lispref 662 cp texinfo.tex ../../${tempdir}/doc/misc
663 ln ChangeLog ../${tempdir}/lispref 663 cd ../../${tempdir}/doc/misc
664 cd ../${tempdir}/lispref 664 rm -f \#*\# =* *~ core emacs-index* *.Z *.z xmail
665 rm -f emacs.?? termcap.?? gdb.?? *.log *.toc *.dvi *.oaux)
666
667echo "Making links to \`doc/lispref'"
668(cd doc/lispref
669 ln `ls -1 *.texi` ../../${tempdir}/doc/lispref
670 ln *.aux *.cps *.fns *.kys *.vrs ../../${tempdir}/doc/lispref
671 ln *.txt *.el spellfile tindex.pl ../../${tempdir}/doc/lispref
672 ln makefile.w32-in ../../${tempdir}/doc/lispref
673 test -f README && ln README ../../${tempdir}/doc/lispref
674 test -f Makefile.in && ln Makefile.in ../../${tempdir}/doc/lispref
675 ln ChangeLog ../../${tempdir}/doc/lispref
676 cd ../../${tempdir}/doc/lispref
665 rm -f \#*\# =* *~ core elisp-index* *.Z *.z xmail 677 rm -f \#*\# =* *~ core elisp-index* *.Z *.z xmail
666 rm -f elisp.?? *.log *.toc *.dvi *.oaux) 678 rm -f elisp.?? *.log *.toc *.dvi *.oaux)
667 679
668echo "Making links to \`lispintro'" 680echo "Making links to \`doc/lispintro'"
669(cd lispintro 681(cd doc/lispintro
670 ln *.texi *.aux *.cps *.fns *.kys *.vrs *.eps ../${tempdir}/lispintro 682 ln *.texi *.aux *.cps *.fns *.kys *.vrs *.eps ../../${tempdir}/doc/lispintro
671 ln makefile.w32-in ../${tempdir}/lispintro 683 ln makefile.w32-in ../../${tempdir}/doc/lispintro
672 test -f texinfo.tex && ln texinfo.tex ../${tempdir}/lispintro 684 test -f texinfo.tex && ln texinfo.tex ../../${tempdir}/doc/lispintro
673 test -f README && ln README ../${tempdir}/lispintro 685 test -f README && ln README ../../${tempdir}/doc/lispintro
674 test -f Makefile.in && ln Makefile.in ../${tempdir}/lispintro 686 test -f Makefile.in && ln Makefile.in ../../${tempdir}/doc/lispintro
675 ln ChangeLog ../${tempdir}/lispintro 687 ln ChangeLog ../../${tempdir}/doc/lispintro
676 cd ../${tempdir}/lispintro 688 cd ../../${tempdir}/doc/lispintro
677 rm -f \#*\# =* *~ core *.Z *.z xmail 689 rm -f \#*\# =* *~ core *.Z *.z xmail
678 rm -f emacs-lisp-intro.?? *.log *.toc *.dvi *.oaux) 690 rm -f emacs-lisp-intro.?? *.log *.toc *.dvi *.oaux)
679 691
692echo "Making links to \`doc/man'"
693(cd doc/man
694 ln *.1 ../../${tempdir}/doc/man)
695
680echo "Making links to \`vms'" 696echo "Making links to \`vms'"
681(cd vms 697(cd vms
682 test -f README && ln README ../${tempdir}/vms 698 test -f README && ln README ../${tempdir}/vms