diff --git a/Makefile b/Makefile index b75fb5df..70b94ca6 100644 --- a/Makefile +++ b/Makefile @@ -1,11 +1,11 @@ # quick dirty hacks # DESTDIR=debian/fail2ban - -all:: fail2ban.8 +MANPAGE=fail2ban.8 +all:: $(MANPAGE) -fail2ban.8: fail2ban fail2ban.h2m +$(MANPAGE): fail2ban fail2ban.h2m help2man --include fail2ban.h2m --section=1x --no-info --output $@ ./fail2ban install:: all @@ -14,4 +14,4 @@ install:: all cp config/fail2ban.conf.default $(DESTDIR)/etc/fail2ban.conf clean:: - rm -rf changelog.gz fail2ban.1x build* `find -iname '*.pyc' ` + rm -rf changelog.gz $(MANPAGE) build* `find -iname '*.pyc' `