]> mj.ucw.cz Git - bouncer.git/blobdiff - Makefile
Let fail_count be zeroed when entering probation
[bouncer.git] / Makefile
index 7743cf8a5f492c7d9ce7c51b9c7829e14123e644..178d1a7bf5d8dc4297e2bdab6451a7c642140874 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -10,4 +10,9 @@ bouncer: bouncer.c
 
 clean:
        rm -f `find . -name "*~" -or -name "*.[oa]" -or -name "\#*\#" -or -name TAGS -or -name core -or -name .depend -or -name .#*`
+       rm -f bouncer
 
+install: bouncer
+       install -d $(DESTDIR)/usr/sbin $(DESTDIR)/etc
+       install -m755 bouncer $(DESTDIR)/usr/sbin/
+       install -m644 config $(DESTDIR)/etc/bouncer