comparison mac/make-package @ 49600:23a1cea22d13

Trailing whitespace deleted.
author Juanma Barranquero <lekktu@gmail.com>
date Tue, 04 Feb 2003 14:56:31 +0000
parents 6f94f884d68e
children 33c5c2bf40c2 d7ddb3e565de
comparison
equal deleted inserted replaced
49599:5ade352e8d1c 49600:23a1cea22d13
114 config_options="--without-x $config_options" 114 config_options="--without-x $config_options"
115 fi 115 fi
116 116
117 if test "$display_usage" = "yes"; then 117 if test "$display_usage" = "yes"; then
118 cat <<EOF 118 cat <<EOF
119 \`make-package' generates a Mac OS X installer package from an Emacs 119 \`make-package' generates a Mac OS X installer package from an Emacs
120 distribution. By default, this first runs ./configure on the emacs 120 distribution. By default, this first runs ./configure on the emacs
121 directory. Then make install to create the emacs distribution. 121 directory. Then make install to create the emacs distribution.
122 Then some mac-specific commands to generate the required information 122 Then some mac-specific commands to generate the required information
123 for the mac package. The installer will, by default, create a 123 for the mac package. The installer will, by default, create a
124 Carbon application called Emacs in the ${appsdir} directory, with the 124 Carbon application called Emacs in the ${appsdir} directory, with the
125 shared emacs files in /usr/local 125 shared emacs files in /usr/local
126 126
127 Usage: $0 [OPTION] 127 Usage: $0 [OPTION]
131 --prefix=DIR Set install location for the Mac OS X package 131 --prefix=DIR Set install location for the Mac OS X package
132 of the emacs related file. By default /usr/local 132 of the emacs related file. By default /usr/local
133 --no-conf Do not run the configure script before running 133 --no-conf Do not run the configure script before running
134 make install. 134 make install.
135 --without-app Do not create the Emacs application bundle 135 --without-app Do not create the Emacs application bundle
136 --with-x Setup the install to use X Windows for its 136 --with-x Setup the install to use X Windows for its
137 windowed display, instead of carbon. Implies 137 windowed display, instead of carbon. Implies
138 --without-app. 138 --without-app.
139 --without-full-dist Do not include all the .el files in the distribution. 139 --without-full-dist Do not include all the .el files in the distribution.
140 This is discouraged except if disk space is critical. 140 This is discouraged except if disk space is critical.
141 --app-symlink Have the Emacs.app executable be a symlink 141 --app-symlink Have the Emacs.app executable be a symlink
142 to the install in [prefix]/bin/emacs and have 142 to the install in [prefix]/bin/emacs and have
143 the emacs executable link to emacs-${version} 143 the emacs executable link to emacs-${version}
144 --self-contained Create an Emacs.app that is self-contained; 144 --self-contained Create an Emacs.app that is self-contained;
145 prefix will be ignored and all files installed 145 prefix will be ignored and all files installed
146 inside the application 146 inside the application
147 --build-in-place Build the application in the source directory 147 --build-in-place Build the application in the source directory
148 instead of a temporary directory. 148 instead of a temporary directory.
149 --build-dir=DIR Build the application in the specified directory 149 --build-dir=DIR Build the application in the specified directory
150 instead of a temporary directory. Mutually exclusive 150 instead of a temporary directory. Mutually exclusive
151 with --build-in-place. 151 with --build-in-place.
152 -C,option Pass option to configure 152 -C,option Pass option to configure
153 -M,option Pass option to make 153 -M,option Pass option to make
355 echo 'RequiresReboot NO' >> ${infofile} 355 echo 'RequiresReboot NO' >> ${infofile}
356 echo 'UseUserMask NO' >> ${infofile} 356 echo 'UseUserMask NO' >> ${infofile}
357 echo 'OverwritePermissions NO' >> ${infofile} 357 echo 'OverwritePermissions NO' >> ${infofile}
358 echo 'InstallFat NO' >> ${infofile} 358 echo 'InstallFat NO' >> ${infofile}
359 359
360 ### Set the install directory to install files as root... 360 ### Set the install directory to install files as root...
361 ### Not sure if this is a good diea 361 ### Not sure if this is a good diea
362 # echo "Setting owner to root" 362 # echo "Setting owner to root"
363 # chown -Rh 0 ${tempparentfull} 363 # chown -Rh 0 ${tempparentfull}
364 364
365 echo "Creating pax file" 365 echo "Creating pax file"
400 mv ${tempparentfull} ${emacsname} 400 mv ${tempparentfull} ${emacsname}
401 fi 401 fi
402 402
403 if [ ! -d /Volumes/Emacs ]; then 403 if [ ! -d /Volumes/Emacs ]; then
404 echo "Could not create disc image. The Emacs installer package (Emacs.pkg) 404 echo "Could not create disc image. The Emacs installer package (Emacs.pkg)
405 in this directory should be correct. Please use the Disc Copy program to 405 in this directory should be correct. Please use the Disc Copy program to
406 create a disc image." >&2 406 create a disc image." >&2
407 exit 0 407 exit 0
408 fi 408 fi
409 409
410 cp -R ${packagedir} /Volumes/Emacs 410 cp -R ${packagedir} /Volumes/Emacs