# Distribution Makefile for nfbuilder
-
-ifeq ($(shell dpkg -l libnetfilter-queue-dev),)
-$(info "nfblocker requires the libnetfilter-queue-dev package")
-$(info "please install it before making")
-$(error "TERMINATED")
-endif
-
INSTALLDIR=/usr/local/sbin
USERCOMMAND = nfblocker.sh
default: install
+README.html: README.adoc
+ asciidoctor -bhtml $<
+
bin/nfblocker: $(wildcard src/*.c)
+ # requires libnetfilter-queue-dev
gcc -g -Wall -o $@ $^ -lnetfilter_queue
# Installing the control script in $(INSTALLDIR)