This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
2019-03-07 15:01:31 +00:00
|
|
|
#!/usr/bin/make -f
|
|
|
|
|
|
|
|
# Uncomment this to turn on verbose mode.
|
|
|
|
# export DH_VERBOSE=1
|
|
|
|
|
|
|
|
%:
|
|
|
|
dh $@ --with=systemd
|
|
|
|
|
|
|
|
build-arch:
|
2019-03-07 19:58:18 +00:00
|
|
|
python3 -m pip install setuptools
|
2019-03-07 15:01:31 +00:00
|
|
|
python3 -m pip install --target=vendor/ -r requirements.txt
|
|
|
|
|
|
|
|
override_dh_strip:
|
|
|
|
dh_strip --exclude=psycopg2
|
|
|
|
|
|
|
|
override_dh_shlibdeps:
|
|
|
|
dh_shlibdeps --exclude=psycopg2
|
|
|
|
|
|
|
|
override_dh_installinit:
|
|
|
|
dh_installinit --name=passbook
|
|
|
|
dh_installinit --name=passbook-worker
|
|
|
|
dh_systemd_enable --name=passbook
|
|
|
|
dh_systemd_enable --name=passbook-worker
|
|
|
|
dh_systemd_start
|
|
|
|
|
|
|
|
# override_dh_usrlocal to do nothing
|
|
|
|
override_dh_usrlocal:
|