aboutsummaryrefslogtreecommitdiffstats
path: root/mac
diff options
context:
space:
mode:
authorSteven Tamm2002-10-07 20:36:24 +0000
committerSteven Tamm2002-10-07 20:36:24 +0000
commitbfde2673662f0af592d6de0ed2b3f0809e0fd70c (patch)
tree963cb992ba4cfff356c551eb050fe8a69afb1781 /mac
parent1168d6c273aed7f60e96838560af4b3922683bb7 (diff)
downloademacs-bfde2673662f0af592d6de0ed2b3f0809e0fd70c.tar.gz
emacs-bfde2673662f0af592d6de0ed2b3f0809e0fd70c.zip
make-package: Now calls make bootstrap if .elc files are missing
Diffstat (limited to 'mac')
-rw-r--r--mac/ChangeLog4
-rwxr-xr-xmac/make-package16
2 files changed, 18 insertions, 2 deletions
diff --git a/mac/ChangeLog b/mac/ChangeLog
index aeac7d8f7bf..36548cce103 100644
--- a/mac/ChangeLog
+++ b/mac/ChangeLog
@@ -1,3 +1,7 @@
12002-10-07 Steven Tamm <steventamm@mac.com>
2
3 * make-package: Now calls make bootstrap if .elc files are missing
4
12002-08-27 Andrew Choi <akochoi@shaw.ca> 52002-08-27 Andrew Choi <akochoi@shaw.ca>
2 6
3 * INSTALL: Add information on starting Emacs as a GUI application 7 * INSTALL: Add information on starting Emacs as a GUI application
diff --git a/mac/make-package b/mac/make-package
index e4c228ee97c..d3eae56a070 100755
--- a/mac/make-package
+++ b/mac/make-package
@@ -62,7 +62,7 @@ do
62 ac_prev=prefix ;; 62 ac_prev=prefix ;;
63 -p=* | -prefix=* | --p=* | --prefix=*) 63 -p=* | -prefix=* | --p=* | --prefix=*)
64 prefix=`expr "x$1" : 'x[^=]*=\(.*\)'` ;; 64 prefix=`expr "x$1" : 'x[^=]*=\(.*\)'` ;;
65 -no-configure | -no-conf | --no-configure | --no-conf) 65 -no-configure | -no-conf | --no-configure | --no-conf | --without-config)
66 with_config=no ;; 66 with_config=no ;;
67 -with-x | --with-x) 67 -with-x | --with-x)
68 config_options= ;; 68 config_options= ;;
@@ -174,7 +174,19 @@ if test "$with_config" = yes; then
174 (cd ..; ./configure ${config_options} --prefix=${prefix};) 174 (cd ..; ./configure ${config_options} --prefix=${prefix};)
175fi 175fi
176 176
177(cd ..; make install prefix=${tempparentfull}${prefix}) 177## Make bootstrap if .elc files are missing from distribution
178if [ ! -f ../lisp/abbrev.elc ]; then
179 echo "Required .elc files missing; making bootstrap..."
180 if ! (cd ..; make bootstrap prefix=${tempparentfull}${prefix}); then
181 echo "Make bootstrap failed... Aborting make-package."
182 exit 2
183 fi
184fi
185
186if ! (cd ..; make install prefix=${tempparentfull}${prefix}); then
187 echo "Make failed... Aborting make-package."
188 exit 1
189fi
178 190
179### This trap ensures that the staging directory will be cleaned up even 191### This trap ensures that the staging directory will be cleaned up even
180### when the script is interrupted in mid-career. 192### when the script is interrupted in mid-career.