This repository has been archived on 2022-05-05. You can view files and clone it, but cannot push or open issues or pull requests.
userausfall/debian/rules

17 lines
582 B
Makefile
Executable File

#!/usr/bin/make -f
export PYBUILD_NAME=userausfall
export PYBUILD_DISABLE=test
%:
dh $@ --package=python3-userausfall --with=python3 --buildsystem=pybuild
dh $@ --package=userausfall
dh $@ --package=userausfall-webapp
.PHONY: override_dh_auto_install
override_dh_auto_install:
dh_auto_install --package=python3-userausfall --destdir=debian/python3-userausfall
if echo "$$DH_INTERNAL_OPTIONS" | sed 's/-O/\n/g' | grep -qF -- '--package=userausfall-webapp'; then \
$(MAKE) assets-install DESTDIR=$$(realpath -m debian/userausfall-webapp/usr/share/userausfall-webapp); \
fi