Labrador/Desktop_Interface/make_deb

11 lines
335 B
Bash
Executable File

#!/bin/bash
set -e
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}
rm -rf deb
make INSTALL_ROOT=deb install; find deb/
cp -r resources/debian deb/DEBIAN
dpkg-deb --build deb
mv deb.deb EspoTek_Labrador-$(git rev-parse --short HEAD)-x64.deb