diff lib-src/update-elc.sh @ 32:e04119814345 r19-15b99

Import from CVS: tag r19-15b99
author cvs
date Mon, 13 Aug 2007 08:52:56 +0200
parents ec9a17fef872
children d620409f5eb8
line wrap: on
line diff
--- a/lib-src/update-elc.sh	Mon Aug 13 08:52:30 2007 +0200
+++ b/lib-src/update-elc.sh	Mon Aug 13 08:52:56 2007 +0200
@@ -85,7 +85,7 @@
 # vm is hard, and must be done first ...
 #
 echon "Compiling VM... "
-( cd lisp/vm ; make EMACS=$REAL )
+( cd lisp/vm ; ${MAKE:-make} EMACS=$REAL autoload)
 echo done.
 
 echo Compiling files without .elc...
@@ -133,58 +133,58 @@
 
 if [ -d lisp/ediff ]; then
   echo Compiling EDIFF...
-  ( cd lisp/ediff ; make EMACS=$REAL elc )
+  ( cd lisp/ediff ; ${MAKE:-make} EMACS=$REAL elc )
   echo EDIFF done.
 fi
 
 if [ -d lisp/viper ]; then
   echo Compiling Viper...
-  ( cd lisp/viper ; make EMACS=$REAL elc )
+  ( cd lisp/viper ; ${MAKE:-make} EMACS=$REAL elc )
   echo Viper done.
 fi
 
 if [ -d lisp/efs ]; then
   echo Compiling efs...
-  ( cd lisp/efs ; make EMACS=$REAL )
+  ( cd lisp/efs ; ${MAKE:-make} EMACS=$REAL )
   echo efs done.
 fi
 
 # Gnus now has a makefile...
 echo Compiling Gnus...
-( cd lisp/gnus ; make EMACS=$REAL some )
+( cd lisp/gnus ; ${MAKE:-make} EMACS=$REAL some )
 echo Gnus done.
 
 # and gee w3 has its own makefile as well
 # (no especial need to use it, though)
 echo Compiling W3...
-( cd lisp/w3 ; make EMACS=$REAL )
+( cd lisp/w3 ; ${MAKE:-make} EMACS=$REAL )
 echo W3 done.
 
 # Hyperbole has to be different as well.  What is it with these big packages?
 echo Compiling Hyperbole...
-( cd lisp/hyperbole ; make EMACS=$REAL elc )
+( cd lisp/hyperbole ; ${MAKE:-make} EMACS=$REAL elc )
 echo Hyperbole done.
 
 # OO-Browser too
 echo Compiling OO-Browser...
-( cd lisp/oobr ; make EMACS=$REAL HYPB_ELC='' elc )
+( cd lisp/oobr ; ${MAKE:-make} EMACS=$REAL HYPB_ELC='' elc )
 echo OO-Browser done.
 
 # this is not strictly necessary but there are some special dependencies
 echo Compiling EOS...
-( cd lisp/eos ; make -k EMACS=$REAL )
+( cd lisp/eos ; ${MAKE:-make} -k EMACS=$REAL )
 echo EOS done.
 
 # ilisp would seem to take a little extra now as well
 # previously this was up top, but it requires that comint.elc exists.
 
 echo Compiling Ilisp...
-( cd lisp/ilisp ; make elc -f Makefile EMACS=$REAL )
+( cd lisp/ilisp ; ${MAKE:-make} elc -f Makefile EMACS=$REAL )
 echo Ilisp done.
 
 # AUC TeX requires special treatment
 echo Compiling AUC TeX...
-( cd lisp/auctex ; make some -f Makefile EMACS=$REAL )
+( cd lisp/auctex ; ${MAKE:-make} some -f Makefile EMACS=$REAL )
 echo AUC TeX done.
 
 #