i3/debian/rules
Michael Stapelberg 693eee0c03 meson: make docdir configurable
The debian package wants to install docs to $datadir/doc/i3-wm.

related to #4086
2020-05-19 19:07:45 +02:00

26 lines
527 B
Makefile
Executable File

#!/usr/bin/make -f
# vi: ts=8 sw=8 noet
export V:=1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
override_dh_installchangelogs:
dh_installchangelogs RELEASE-NOTES-*
override_dh_strip:
dh_strip --dbg-package=i3-wm-dbg
override_dh_auto_test:
# TODO: enable tests
override_dh_auto_configure:
# Set -Ddocdir; the default is /usr/share/doc/i3
dh_auto_configure -- -Ddocdir=/usr/share/doc/i3-wm
override_dh_builddeb:
# bintray does not support xz currently.
dh_builddeb -- -Zgzip
%:
dh $@ --buildsystem=meson+ninja