2005-07-07 03:54:33 +00:00
|
|
|
# quick dirty hacks
|
|
|
|
#
|
2005-07-06 23:10:26 +00:00
|
|
|
DESTDIR=debian/fail2ban
|
2005-08-19 08:56:12 +00:00
|
|
|
MANPAGE=fail2ban.8
|
|
|
|
all:: $(MANPAGE)
|
2005-07-06 23:10:26 +00:00
|
|
|
|
2005-07-07 03:06:56 +00:00
|
|
|
|
2005-08-19 08:56:12 +00:00
|
|
|
$(MANPAGE): fail2ban fail2ban.h2m
|
2005-07-07 03:06:56 +00:00
|
|
|
help2man --include fail2ban.h2m --section=1x --no-info --output $@ ./fail2ban
|
2005-07-06 23:10:26 +00:00
|
|
|
|
|
|
|
install:: all
|
2005-07-07 01:47:23 +00:00
|
|
|
python setup.py install --root=debian/fail2ban/
|
2005-07-26 21:27:19 +00:00
|
|
|
mkdir -p $(DESTDIR)/etc
|
|
|
|
cp config/fail2ban.conf.default $(DESTDIR)/etc/fail2ban.conf
|
2005-07-06 23:10:26 +00:00
|
|
|
|
|
|
|
clean::
|
2005-08-19 08:56:12 +00:00
|
|
|
rm -rf changelog.gz $(MANPAGE) build* `find -iname '*.pyc' `
|