Add debian rules
This commit is contained in:
parent
e5c3909e21
commit
d723bcf5c7
1 changed files with 16 additions and 1 deletions
17
debian/rules
vendored
17
debian/rules
vendored
|
@ -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
|
Loading…
Reference in a new issue