2019-06-23 05:48:16 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
2019-08-24 02:30:02 +01:00
|
|
|
set -e
|
|
|
|
|
2019-06-23 05:48:16 +01:00
|
|
|
qmake DEB=1 CONFIG+=release PREFIX=/usr DEFINES+=GIT_HASH_SHORT=$(git rev-parse --short HEAD)
|
|
|
|
make -j$(nproc) CXX=${CXX} CC=${CC} LINK=${CXX}
|
2019-08-24 02:30:02 +01:00
|
|
|
rm -rf deb
|
2019-06-23 05:48:16 +01:00
|
|
|
make INSTALL_ROOT=deb install; find deb/
|
|
|
|
cp -r resources/debian deb/DEBIAN
|
|
|
|
dpkg-deb --build deb
|
2019-06-23 06:04:34 +01:00
|
|
|
mv deb.deb EspoTek_Labrador-$(git rev-parse --short HEAD)-x64.deb
|