2013-09-25 14:57:21 +02:00
|
|
|
#!/usr/bin/make -f
|
2024-03-26 16:04:20 +01:00
|
|
|
# -*- makefile -*-
|
|
|
|
# Sample debian/rules that uses debhelper.
|
|
|
|
# This file was originally written by Joey Hess and Craig Small.
|
|
|
|
# As a special exception, when this file is copied by dh-make into a
|
|
|
|
# dh-make output file, you may use that output file without restriction.
|
|
|
|
# This special exception was added by Craig Small in version 0.37 of dh-make.
|
|
|
|
|
|
|
|
# Uncomment this to turn on verbose mode.
|
|
|
|
#export DH_VERBOSE=1
|
2013-09-25 14:57:21 +02:00
|
|
|
|
|
|
|
DESTDIR=$(CURDIR)/debian/fail2ban-p2p
|
|
|
|
|
2024-03-26 14:31:12 +01:00
|
|
|
%:
|
2024-03-26 16:25:40 +01:00
|
|
|
dh $@ --with python3
|
2013-09-25 14:57:21 +02:00
|
|
|
|
2024-03-26 16:04:20 +01:00
|
|
|
# Override auto test because upstream do not use the standard unittest discover
|
2024-03-26 14:31:12 +01:00
|
|
|
override_dh_auto_test:
|
2024-03-26 16:04:20 +01:00
|
|
|
|
|
|
|
# Override of auto_build
|
|
|
|
override_dh_auto_build:
|
|
|
|
|
|
|
|
# Override of auto_install to remove information from package
|
|
|
|
override_dh_auto_install:
|
|
|
|
#dh_auto_install
|
2024-03-26 16:25:40 +01:00
|
|
|
python3 setup.py install --root=$(DESTDIR) --no-compile --install-layout=deb
|
2024-03-26 16:04:20 +01:00
|
|
|
|