28 lines
835 B
Makefile
Executable File
28 lines
835 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
# -*- 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
|
|
|
|
DESTDIR=$(CURDIR)/debian/fail2ban-p2p
|
|
|
|
%:
|
|
dh $@ --with python3
|
|
|
|
# Override auto test because upstream do not use the standard unittest discover
|
|
override_dh_auto_test:
|
|
|
|
# Override of auto_build
|
|
override_dh_auto_build:
|
|
|
|
# Override of auto_install to remove information from package
|
|
override_dh_auto_install:
|
|
#dh_auto_install
|
|
python3 setup.py install --root=$(DESTDIR) --no-compile --install-layout=deb
|
|
|