aboutsummaryrefslogtreecommitdiff
path: root/store/works/teapot/script/build-deb.bash
blob: 954d026b42729ba62381616ab3b2d06e0c528094 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
set -e

mkdir -p build
pushd build
cmake .. "-DCMAKE_BUILD_TYPE=RelWithDebInfo"
make
mkdir -p package
cmake --install . --prefix ./package/
mkdir -p package/DEBIAN
cp ../debian/control ./package/DEBIAN/control
dpkg-deb --root-owner-group --build package
popd