Add debian rules
This commit is contained in:
parent
e5c3909e21
commit
d723bcf5c7
1 changed files with 16 additions and 1 deletions
15
debian/rules
vendored
15
debian/rules
vendored
|
@ -12,3 +12,18 @@
|
|||
%:
|
||||
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