(SET_SAVED_MENU_EVENT): New macro.
[bpt/emacs.git] / make-dist
index d966283..b8099d5 100755 (executable)
--- a/make-dist
+++ b/make-dist
@@ -126,6 +126,13 @@ if [ "${bogosities}" != "" ]; then
 fi
 rm -f /tmp/el /tmp/elc
 
+### Check for .el files that would overflow the 14-char limit if compiled.
+long=`find lisp -name '[a-zA-Z0-9]??????????*.el' -print`
+if [ "$long" != "" ]; then
+  echo "The following .el file names are too long:"
+  echo "$long"
+fi
+
 ### Make sure configure is newer than configure.in.
 if [ "x`ls -t configure configure.in | head -1`" != "xconfigure" ]; then
   echo "\`./configure.in' is newer than \`./configure'" >&2
@@ -133,9 +140,6 @@ if [ "x`ls -t configure configure.in | head -1`" != "xconfigure" ]; then
   autoconf || { x=$?; echo Autoconf FAILED! >&2; exit $x; }
 fi
 
-### Update getdate.c.
-(cd lib-src; make -f Makefile getdate.c YACC="bison -y")
-
 echo "Updating Info files"
 
 (cd man; make info)
@@ -196,7 +200,7 @@ echo "Updating version number in README"
 echo "Creating subdirectories"
 for subdir in lisp lisp/term site-lisp \
              src src/m src/s src/bitmaps lib-src oldXMenu lwlib \
-             nt nt/inc nt/inc/sys \
+             nt nt/inc nt/inc/sys nt/inc/arpa nt/inc/netinet \
              etc etc/e lock cpp info man msdos vms; do
   mkdir ${tempdir}/${subdir}
 done
@@ -279,7 +283,7 @@ echo "Making links to \`lib-src'"
 
 echo "Making links to \`nt'"
 (cd nt
- ln emacs.ico emacs.rc config.nt config.w95 [a-z]*.in [a-z]*.c ../${tempdir}/nt
+ ln emacs.ico emacs.rc config.nt [a-z]*.in [a-z]*.c ../${tempdir}/nt
  ln [a-z]*.bat [a-z]*.h makefile.def makefile.nt ../${tempdir}/nt
  ln TODO ChangeLog INSTALL README ../${tempdir}/nt)
 
@@ -291,6 +295,14 @@ echo "Making links to \`nt/inc/sys'"
 (cd nt/inc/sys
  ln [a-z]*.h ../../../${tempdir}/nt/inc/sys)
 
+echo "Making links to \`nt/inc/arpa'"
+(cd nt/inc/arpa
+ ln [a-z]*.h ../../../${tempdir}/nt/inc/arpa)
+
+echo "Making links to \`nt/inc/netinet'"
+(cd nt/inc/netinet
+ ln [a-z]*.h ../../../${tempdir}/nt/inc/netinet)
+
 echo "Making links to \`msdos'"
 (cd msdos
  ln  ChangeLog emacs.ico emacs.pif ../${tempdir}/msdos