16 lines
582 B
Makefile
Executable file
16 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
|