Fix typo.
[bpt/emacs.git] / lisp / Makefile.in
index 703d5c7..87fae47 100644 (file)
@@ -40,7 +40,8 @@ lisptagsfiles2 = $(lisp)/[a-zA-Z]*/[a-zA-Z]*.el
 ETAGS = ../lib-src/etags
 
 # Files which should not be compiled.  If you change the name `DONTCOMPILE'
-# to something different, you'll have to change make-dist as well.
+# to something different, you'll have to change make-dist as well, and
+# modify the lists in $lisp and $shortlisp on src/Makefile.in.
 #
 # - emacs-lisp/cl-specs.el:  only contains `def-edebug-spec's so there's
 #   no point compiling it, although it doesn't hurt.
@@ -63,10 +64,23 @@ DONTCOMPILE = \
        $(lisp)/international/latin-8.el \
        $(lisp)/international/latin-9.el \
        $(lisp)/international/mule-conf.el \
+       $(lisp)/language/czech.el \
+       $(lisp)/language/devanagari.el \
+       $(lisp)/language/english.el \
+       $(lisp)/language/greek.el \
+       $(lisp)/language/hebrew.el \
+       $(lisp)/language/japanese.el \
+       $(lisp)/language/korean.el \
+       $(lisp)/language/lao.el \
+       $(lisp)/language/misc-lang.el \
+       $(lisp)/language/romanian.el \
+       $(lisp)/language/slovak.el \
+       $(lisp)/language/thai.el \
+       $(lisp)/language/utf-8-lang.el \
+       $(lisp)/language/georgian.el \
        $(lisp)/loaddefs.el \
        $(lisp)/loadup.el \
        $(lisp)/mail/blessmail.el \
-       $(lisp)/mail/sc.el \
        $(lisp)/patcomp.el \
        $(lisp)/paths.el \
        $(lisp)/play/bruce.el \
@@ -119,9 +133,10 @@ setwins=subdirs=`find $$wd -type d -print`; \
                *) wins="$$wins $$file" ;; \
           esac; \
         done
-nonobsolete_setwins=subdirs=`find $$wd -type d -print`; \
+
+finder_setwins=subdirs=`find $$wd -type d -print`; \
        for file in $$subdirs; do \
-          case $$file in */Old | */RCS | */CVS | */CVS/* | */=* | */obsolete ) ;; \
+          case $$file in */Old | */RCS | */CVS | */CVS/* | */=* | */obsolete | */term ) ;; \
                *) wins="$$wins $$file" ;; \
           esac; \
         done
@@ -138,7 +153,7 @@ custom-deps: cus-load.el doit
 finder-inf.el:
        echo "(provide 'finder-inf)" >> $@
 finder-data: finder-inf.el doit
-       wd=$(lisp); $(nonobsolete_setwins); \
+       wd=$(lisp); $(finder_setwins); \
        echo Directories: $$wins; \
        $(EMACS) $(EMACSOPT) -l finder -f finder-compile-keywords-make-dist $$wins
 
@@ -173,10 +188,12 @@ update-authors:
        $(emacs) -f batch-update-authors $(srcdir)/AUTHORS $(srcdir)
 
 TAGS: $(lisptagsfiles1) $(lisptagsfiles2)
-       ${ETAGS} $(lisptagsfiles1) $(lisptagsfiles2)
+       els=`echo $(lisptagsfiles1) $(lisptagsfiles2) | sed -e "s,$(lisp)/loaddefs.el,,"`; \
+       ${ETAGS} $$els
 
 TAGS-LISP: $(lisptagsfiles1) $(lisptagsfiles2)
-       ${ETAGS} -o TAGS-LISP $(lisptagsfiles1) $(lisptagsfiles2)
+       els=`echo $(lisptagsfiles1) $(lisptagsfiles2) | sed -e "s,$(lisp)/loaddefs.el,,"`; \
+       ${ETAGS} -o TAGS-LISP $$els
 
 .SUFFIXES: .elc .el
 
@@ -207,6 +224,12 @@ compile-files: subdirs.el doit
          $(emacs) -f batch-byte-compile $$el || exit 1; \
        done
 
+compile-calc: 
+       for el in $(find $(lisp)/calc -name '*.el'); do \
+         echo Compiling $$el; \
+         $(emacs) -f batch-byte-compile $$el || exit 1; \
+       done
+
 # Backup compiled Lisp files in elc.tar.gz.  If that file already
 # exists, make a backup of it.
 
@@ -240,6 +263,6 @@ bootstrap-clean:
 bootstrap: autoloads compile-files custom-deps
 
 distclean:
-       -rm -f $(lisp)/Makefile
+       -rm -f ./Makefile
 
 # Makefile ends here.