Mercurial > hg > syntilista
comparison build-win32.sh @ 72:cde3d200967c
Use temporary file for unix2dos because of exfat limitations causing warnings.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 10 Apr 2017 13:03:07 +0300 |
parents | a242548ccce8 |
children | a5c8741b8662 |
comparison
equal
deleted
inserted
replaced
71:2d12c12a7b89 | 72:cde3d200967c |
---|---|
1 #!/bin/sh | 1 #!/bin/sh |
2 INSTALL_USB="/mnt/sdb1/Syntilista/" | 2 INSTALL_USB="/mnt/sdb1/Syntilista/" |
3 INSTALL_WINE="$HOME/.wine/drive_c/Syntilista/" | 3 INSTALL_WINE="$HOME/.wine/drive_c/Syntilista/" |
4 TMPFILE="unix2dos.tmp" | |
4 | 5 |
5 BUILDPATH="win32/" | 6 BUILDPATH="win32/" |
6 | 7 |
7 QT5_PREFIX="/misc/packages/qt5-src" | 8 QT5_PREFIX="/misc/packages/qt5-src" |
8 QT5_BASE="${QT5_PREFIX}/qtbase" | 9 QT5_BASE="${QT5_PREFIX}/qtbase" |
41 cp -f "$MINGWPATH/$i.dll" "$TARGET" | 42 cp -f "$MINGWPATH/$i.dll" "$TARGET" |
42 strip "$TARGET/$i.dll" | 43 strip "$TARGET/$i.dll" |
43 done | 44 done |
44 | 45 |
45 cp -f "$BUILDPATH/Syntilista.exe" "$TARGET" | 46 cp -f "$BUILDPATH/Syntilista.exe" "$TARGET" |
46 unix2dos -n "COPYING" "$TARGET/COPYING.txt" | 47 unix2dos -n "COPYING" "$TMPFILE" && cp -f "$TMPFILE" "$TARGET/COPYING.txt" |
48 rm -f "$TMPFILE" | |
47 return 0 | 49 return 0 |
48 } | 50 } |
49 | 51 |
50 | 52 |
51 ### Create cross-building makefiles | 53 ### Create cross-building makefiles |