source: git/make_release@ 92a1f61

RELEASE/1.0 RELEASE/1.1 RELEASE/1.2 debug-ci debug-ci-sanitisers faster-cavernlog log-select main stereo stereo-2025 walls-data walls-data-hanging-as-warning warn-only-for-hanging-survey
Last change on this file since 92a1f61 was 4208811, checked in by Olly Betts <olly@…>, 25 years ago

caverot: (djgpp+allegro) cursor keys and delete had stopped working (due to
changes in allegro graphics library) - fixed.

aven: reverted to GTK-- 1.0 version (need to revert aven.cc still).

caverot: (mingw+allegro) workaround allegro not setting argv[argc] = NULL;
redraw when user switches away and back (doesn't seem to work); --window
for windowed mode (doesn't seem to work).

git-svn-id: file:///home/survex-svn/survex/trunk@554 4b37db11-9a0c-4f06-9ece-9ab7cdaee568

  • Property mode set to 100755
File size: 2.1 KB
RevLine 
[d7acd89]1#! /bin/sh
[e66be9a]2release=yes
3if test x"$1" = x-t ; then
4 release=
[d7acd89]5fi
[e66be9a]6if test x"$release" = xyes ; then
7 if ! cvs diff > /dev/null 2> /dev/null ; then
8 echo There are changes not checked into CVS - please rectify
9 exit 1
10 fi
11 # Update ChangeLog
12 if ! ../cvs2cl/cvs2cl.pl 2> /dev/null ; then
13 echo Failed to update ChangeLog from CVS
14 exit 1
15 fi
[fd51dc3]16fi
17if test -f Makefile ; then
18 if ! make distclean ; then
19 echo make distclean failed
20 exit 1
21 fi
22fi
[eea518c]23if ! ./configure ; then
24 echo configure failed
25 exit 1
26fi
[c693a3f]27# make distcheck fails - cvs version of automake doesn't clean up all the
28# files it creates...
29if ! make dist ; then
30 echo make dist failed
[e719df1]31 exit 1
32fi
[e66be9a]33if test x"$release" = xyes ; then
34 if ! make rpm ; then
35 echo make rpm failed
36 exit 1
37 fi
38 if ! make dos_doc_zip ; then
39 echo make dos_doc_zip failed
40 exit 1
41 fi
[fd51dc3]42fi
[4208811]43if ! make alien_src_zip ; then
44 echo make alien_src_zip failed
45 exit 1
46fi
[9324b2d]47if ! make distclean ; then
48 echo make distclean failed
49 exit 1
50fi
[fd51dc3]51if ! env CC=i386-pc-msdosdjgpp-gcc LDFLAGS=-s STRIP=echo CAVEROT=caverot.exe \
52 CRLIB=-lalleg CROBJX=dosrot.o ./configure --with-x=no ; then
53 echo djgpp configure failed
54 exit 1
55fi
[e66be9a]56if ! make ; then
[fd51dc3]57 echo djgpp make failed
58 exit 1
59fi
[4208811]60#if test x"$release" = xyes ; then
[e66be9a]61 if ! make djgpp_zip ; then
62 echo djgpp make djgpp_zip failed
63 exit 1
64 fi
[4208811]65#fi
[fd51dc3]66if ! make distclean ; then
67 echo make distclean failed
68 exit 1
69fi
[d7acd89]70PATH=/usr/local/cross-tools/bin:/usr/local/cross-tools/i386-mingw32msvc/bin:$PATH
[e66be9a]71if ! env ac_cv_c_bigendian=no LDFLAGS=-s CAVEROT=caverot.exe \
[4208811]72 CRLIB="-mwindows -mconsole -lalleg_s -lddraw -lmingwthrd -ldxguid -ldsound -ldinput -lwinmm -lole32" \
[e66be9a]73 CROBJX=dosrot.o CFLAGS=-DALLEGRO_STATICLINK ./configure --with-x=no ; then
[fd51dc3]74 echo mingw configure failed
75 exit 1
76fi
[e66be9a]77if ! make ; then
[fd51dc3]78 echo mingw make failed
79 exit 1
80fi
[4208811]81#if test x"$release" = xyes ; then
[e66be9a]82 if ! make mingw_zip ; then
83 echo mingw make mingw_zip failed
84 exit 1
85 fi
[4208811]86#fi
[e66be9a]87if ! make distclean ; then
88 echo make distclean failed
89 exit 1
90fi
Note: See TracBrowser for help on using the repository browser.