1# build file to generate the distribution binary tarball
2autoreconf
3
4./configure \
5  $PKGCFG \
6  $CROSSCFG \
7  --with-ptw32=$PREFIX/i686-w64-mingw32.static \
8  --enable-static \
9  PTW32_LIBS="-lpthread -lpcreposix -lpcre -lregex" \
10  FLTK_CONFIG=$PREFIX/bin/i686-w64-mingw32.static-fltk-config
11
12make
13
14$PREFIX/bin/i686-w64-mingw32.static-strip src/fllog.exe
15make nsisinst
16mv src/*setup*exe .
17
18make clean
19
20# build the distribution tarball
21./configure
22make distcheck
23make clean
24