Fix a typo.
[bpt/emacs.git] / make-dist
index 5107ea1..06785c6 100755 (executable)
--- a/make-dist
+++ b/make-dist
@@ -6,7 +6,7 @@
 #### be distributed.  This means that if you add a file with an odd name,
 #### you should make sure that this script will include it.
 
-# Copyright (C) 1995, 1997, 1998, 2000 Free Software Foundation, Inc.
+# Copyright (C) 1995, 1997, 1998, 2000, 2001 Free Software Foundation, Inc.
 #
 # This file is part of GNU Emacs.
 #
 progname="$0"
 
 ### Exit if a command fails.
-set -e
+#set -e
 
 ### Print out each line we read, for debugging's sake.
-### set -v
+#set -v
+
+LANGUAGE=C
+LC_ALL=C
+LC_MESSAGES=
+LANG=
+export LANGUAGE LC_ALL LC_MESSAGES LANG
 
 ## Don't restrict access to any files.
 umask 0
@@ -281,7 +287,7 @@ mkdir ${tempdir}
 ### tar file; this means that people can start reading the INSTALL and
 ### README while the rest of the tar file is still unpacking.  Whoopee.
 echo "Making links to top-level files"
-ln GETTING.GNU.SOFTWARE INSTALL README BUGS move-if-change ${tempdir}
+ln FTP INSTALL README BUGS move-if-change ${tempdir}
 ln ChangeLog Makefile.in configure configure.in aclocal.m4 ${tempdir}
 ln config.bat make-dist update-subdirs vpath.sed ${tempdir}
 ### Copy these files; they're cross-filesystem symlinks.
@@ -300,7 +306,8 @@ echo "Updating version number in README"
 
 
 echo "Creating subdirectories"
-for subdir in lisp site-lisp leim real-leim real-leim/CXTERM-DIC \
+for subdir in lisp site-lisp \
+             leim real-leim real-leim/CXTERM-DIC real-leim/MISC-DIC \
              real-leim/SKK-DIC real-leim/ja-dic real-leim/quail \
              src src/m src/s src/bitmaps lib-src oldXMenu lwlib \
              nt nt/inc nt/inc/sys nt/inc/arpa nt/inc/netinet nt/icons \
@@ -384,9 +391,14 @@ echo "Making links to \`leim' and its subdirectories for the LEIM distribution"
 
  ln CXTERM-DIC/*.tit ../${tempdir}/real-leim/CXTERM-DIC
  ln SKK-DIC/README SKK-DIC/SKK-JISYO.L ../${tempdir}/real-leim/SKK-DIC
+ ln MISC-DIC/*.* ../${tempdir}/real-leim/MISC-DIC
  ln ja-dic/*.el ja-dic/*.elc ../${tempdir}/real-leim/ja-dic
- ln quail/*.el quail/*.elc ../${tempdir}/real-leim/quail
  ln Makefile.in ../${tempdir}/real-leim/Makefile.in
+ ln quail/[a-z]*.el quail/[a-z]*.elc ../${tempdir}/real-leim/quail
+ rm -f ../${tempdir}/real-leim/quail/quick-b5.*
+ rm -f ../${tempdir}/real-leim/quail/quick-cns.*
+ rm -f ../${tempdir}/real-leim/quail/tsang-b5.*
+ rm -f ../${tempdir}/real-leim/quail/tsang-cns.*
 
  cd ../${tempdir}/real-leim
  rm -f TAGS =* */=*)
@@ -427,7 +439,7 @@ echo "Making links to \`src'"
  ln makefile.nt makefile.w32-in vms-pp.trans ../${tempdir}/src
  ln .gdbinit .dbxinit ../${tempdir}/src
  cd ../${tempdir}/src
- rm -f config.h paths.h Makefile Makefile.c
+ rm -f config.h epaths.h Makefile Makefile.c
  rm -f =* TAGS)
 
 echo "Making links to \`src/bitmaps'"
@@ -472,7 +484,7 @@ echo "Making links to \`lib-src'"
 echo "Making links to \`nt'"
 (cd nt
  ln emacs.rc config.nt [a-z]*.in [a-z]*.c ../${tempdir}/nt
- ln _emacs nmake.defs gmake.defs ../${tempdir}/nt
+ ln _emacs nmake.defs gmake.defs subdirs.el ../${tempdir}/nt
  ln [a-z]*.bat [a-z]*.h makefile.def makefile.nt ../${tempdir}/nt
  ln TODO ChangeLog INSTALL README makefile.w32-in ../${tempdir}/nt)
 
@@ -582,7 +594,7 @@ echo "Making links to \`man'"
  test -f Makefile.in && ln Makefile.in ../${tempdir}/man
  ln ChangeLog ../${tempdir}/man
  test -f split-man && ln split-man ../${tempdir}/man
test -f texinfo.tex && cp texinfo.tex ../${tempdir}/man
+ cp texinfo.tex ../${tempdir}/man
  cd ../${tempdir}/man
  rm -f \#*\# =* *~ core emacs-index* *.Z *.z xmail
  rm -f emacs.?? termcap.?? gdb.?? *.log *.toc *.dvi *.oaux)