Mercurial > hg > xemacs-beta
comparison 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 |
comparison
equal
deleted
inserted
replaced
863:42375619fa45 | 864:5b3cf2203477 |
---|---|
5 # particular you must provide a suitable value for NATIVE_ZLIB_DIR. | 5 # particular you must provide a suitable value for NATIVE_ZLIB_DIR. |
6 | 6 |
7 # configuration | 7 # configuration |
8 NATIVE_ZLIB_DIR=/usr/local/mingw/lib | 8 NATIVE_ZLIB_DIR=/usr/local/mingw/lib |
9 PROGRAM_FILES='c:/Program Files/XEmacs' | 9 PROGRAM_FILES='c:/Program Files/XEmacs' |
10 TMPINSTALL=/tmp/local | |
10 # no configuration past this point | 11 # no configuration past this point |
11 | 12 |
12 INSTALL= | 13 INSTALL= |
13 FILES= | 14 FILES= |
14 BUILD=1 | 15 BUILD=1 |
50 | 51 |
51 # create a dist directory | 52 # create a dist directory |
52 mkdir -p windows/cygwin32 | 53 mkdir -p windows/cygwin32 |
53 mkdir -p windows/win32 | 54 mkdir -p windows/win32 |
54 mkdir -p /usr/local | 55 mkdir -p /usr/local |
56 mkdir -p ${TMPINSTALL} | |
55 | 57 |
56 # first build win32 | 58 # first build win32 |
57 (cd nt; | 59 (cd nt; |
58 nmake -f xemacs.mak clean; | 60 nmake -f xemacs.mak clean; |
59 nmake -f xemacs.mak) | 61 nmake -f xemacs.mak) |
82 (cd "${PROGRAM_FILES}"; | 84 (cd "${PROGRAM_FILES}"; |
83 tar czvf ${DISTDIR}/win32/${win32_tarball} \ | 85 tar czvf ${DISTDIR}/win32/${win32_tarball} \ |
84 ./XEmacs-${emacs_ver}) | 86 ./XEmacs-${emacs_ver}) |
85 | 87 |
86 # make the tarball | 88 # make the tarball |
87 make install | 89 make prefix=${TMPINSTALL} bindir=${TMPINSTALL}/bin/i686-pc-cygwin install |
88 (cd /usr/local; | 90 (cd ${TMPINSTALL}; |
89 tar czvf ${DISTDIR}/cygwin32/${cygwin_tarball} \ | 91 tar czvf ${DISTDIR}/cygwin32/${cygwin_tarball} \ |
90 ./bin/i686-pc-cygwin \ | 92 ./bin/i686-pc-cygwin \ |
91 ./lib/xemacs-${emacs_ver} \ | 93 ./lib/xemacs-${emacs_ver} \ |
92 ./lib/xemacs/lock \ | 94 ./lib/xemacs/lock \ |
93 ./man/man1/ctags.1 \ | 95 ./man/man1/ctags.1 \ |
94 ./man/man1/etags.1 \ | 96 ./man/man1/etags.1 \ |
95 ./man/man1/gnuattach.1 \ | 97 ./man/man1/gnuattach.1 \ |
96 ./man/man1/gnuclient.1 \ | 98 ./man/man1/gnuclient.1 \ |
97 ./man/man1/gnudoit.1 \ | 99 ./man/man1/gnudoit.1 \ |
98 ./man/man1/gnuserv.1 \ | 100 ./man/man1/gnuserv.1 \ |
99 ./man/man1/xemacs.1) | 101 ./man/man1/xemacs.1; |
102 rm -rf bin lib man) | |
100 | 103 |
101 # figure out the ini file. | 104 # figure out the ini file. |
102 cygwin_tarball_size=`ls -l windows/cygwin32/${cygwin_tarball} | awk '{ print $5; }'` | 105 cygwin_tarball_size=`ls -l windows/cygwin32/${cygwin_tarball} | awk '{ print $5; }'` |
103 win32_tarball_size=`ls -l windows/win32/${win32_tarball} | awk '{ print $5; }'` | 106 win32_tarball_size=`ls -l windows/win32/${win32_tarball} | awk '{ print $5; }'` |
104 | 107 |