diff build-msw-release.sh @ 864:5b3cf2203477

[xemacs-hg @ 2002-06-04 06:09:51 by andyp] merge 21.4 windows changes, minimally tested
author andyp
date Tue, 04 Jun 2002 06:12:31 +0000
parents 512e4a478e9d
children 8a653fbe5c27
line wrap: on
line diff
--- a/build-msw-release.sh	Tue Jun 04 06:05:53 2002 +0000
+++ b/build-msw-release.sh	Tue Jun 04 06:12:31 2002 +0000
@@ -7,6 +7,7 @@
 # configuration
 NATIVE_ZLIB_DIR=/usr/local/mingw/lib
 PROGRAM_FILES='c:/Program Files/XEmacs'
+TMPINSTALL=/tmp/local
 # no configuration past this point
 
 INSTALL=
@@ -52,6 +53,7 @@
 mkdir -p windows/cygwin32
 mkdir -p windows/win32
 mkdir -p /usr/local
+mkdir -p ${TMPINSTALL}
 
 # first build win32
 (cd nt;
@@ -84,8 +86,8 @@
 	./XEmacs-${emacs_ver})
 
 # make the tarball
-make install
-(cd /usr/local;
+make prefix=${TMPINSTALL} bindir=${TMPINSTALL}/bin/i686-pc-cygwin install
+(cd ${TMPINSTALL};
     tar czvf ${DISTDIR}/cygwin32/${cygwin_tarball} \
     ./bin/i686-pc-cygwin \
     ./lib/xemacs-${emacs_ver} \
@@ -96,7 +98,8 @@
     ./man/man1/gnuclient.1 \
     ./man/man1/gnudoit.1 \
     ./man/man1/gnuserv.1 \
-    ./man/man1/xemacs.1)
+    ./man/man1/xemacs.1;
+    rm -rf bin lib man)
 
 # figure out the ini file.
 cygwin_tarball_size=`ls -l windows/cygwin32/${cygwin_tarball} | awk '{ print $5; }'`