aboutsummaryrefslogtreecommitdiffstats
path: root/build-aux/build-windows.sh
blob: b00fbe6c36953205de12df51b7c53f85f175ca43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash

set -ex

DESTDIR="${PN}-${TARGET}-${PV}"

${MAKE_CMD:-make} blogc.exe

rm -rf "${DESTDIR}"
mkdir -p "${DESTDIR}"

cp .libs/blogc.exe "${DESTDIR}/"
cp ../LICENSE "${DESTDIR}/"
cp ../README.md "${DESTDIR}/"

zip "${DESTDIR}.zip" "${DESTDIR}"/*