2026-01-08 18:56:01 -07:00
|
|
|
#!/usr/bin/make -f
|
|
|
|
|
|
|
|
|
|
export DH_VERBOSE=1
|
2026-01-10 18:27:37 -07:00
|
|
|
git_checkout = $(shell if [ -d .git ]; then echo true ; else echo false ; fi)
|
|
|
|
|
|
2026-01-08 18:56:01 -07:00
|
|
|
|
|
|
|
|
%:
|
|
|
|
|
dh $@ --buildsystem=meson
|
|
|
|
|
|
2026-01-10 18:27:37 -07:00
|
|
|
override_dh_auto_configure: patch
|
|
|
|
|
dh_auto_configure -- -Dinstall-plugin-metainfo=true -Dwith-lua=lua53
|
2026-01-08 18:56:01 -07:00
|
|
|
|
|
|
|
|
override_dh_installchangelogs:
|
2026-01-10 18:27:37 -07:00
|
|
|
dh_installchangelogs debian/changelog.txt
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
udoc:
|
|
|
|
|
ifeq ($(git_checkout),true)
|
|
|
|
|
wget https://github.com/Zoitechat/documentation/raw/master/changelog.rst -O debian/changelog.txt
|
|
|
|
|
wget https://github.com/Zoitechat/documentation/raw/master/plugins.rst -O debian/plugins.txt
|
|
|
|
|
else
|
|
|
|
|
$(error you are running this outside of a git checkout; this is not what the maintainer expects)
|
|
|
|
|
endif
|