2018-04-14 14:09:06 +02:00
|
|
|
#!/usr/bin/make -f
|
2018-11-02 20:14:34 +01:00
|
|
|
export DH_VERBOSE=1
|
|
|
|
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
2018-04-14 14:09:06 +02:00
|
|
|
|
|
|
|
%:
|
2018-11-02 20:14:34 +01:00
|
|
|
dh $@
|
2018-04-14 14:09:06 +02:00
|
|
|
|
|
|
|
override_dh_auto_clean:
|
|
|
|
rm -rf debian/build
|
|
|
|
|
|
|
|
override_dh_auto_configure:
|
|
|
|
mkdir -p debian/build
|
|
|
|
cd debian/build && meson --prefix=/usr ../..
|
|
|
|
|
|
|
|
override_dh_auto_build:
|
|
|
|
cd debian/build && ninja -v
|
|
|
|
|
|
|
|
override_dh_auto_test:
|
|
|
|
cd debian/build && ninja test
|
|
|
|
|
|
|
|
override_dh_auto_install:
|
|
|
|
cd debian/build && DESTDIR=${CURDIR}/debian/com.github.bleakgrey.tootle ninja install
|