23 lines
394 B
Makefile
Executable File
23 lines
394 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
|
|
export PYBUILD_NAME=fail2ban-p2p
|
|
|
|
%:
|
|
dh $@ --with python3 --buildsystem=pybuild
|
|
|
|
override_dh_auto_configure:
|
|
:
|
|
|
|
override_dh_auto_build:
|
|
python3 setup.py build
|
|
|
|
override_dh_auto_install:
|
|
python3 setup.py install \
|
|
--root=$(CURDIR)/debian/fail2ban-p2p \
|
|
--no-compile \
|
|
--install-layout=deb
|
|
|
|
override_dh_auto_clean:
|
|
-python3 setup.py clean --all
|
|
rm -rf build .pybuild
|