Add debian rules

This commit is contained in:
Nathan Bonnemains 2019-04-22 18:11:45 +02:00
parent e5c3909e21
commit d723bcf5c7

17
debian/rules vendored
View file

@ -10,5 +10,20 @@
#export DH_VERBOSE=1 #export DH_VERBOSE=1
%: %:
dh $@ dh $@
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.artemanufrij.webpin ninja install