From: Ralph Ronnquist Date: Sat, 15 Feb 2025 23:55:06 +0000 (+1100) Subject: reduce oddity X-Git-Tag: 0.1~22 X-Git-Url: https://git.rrq.au/?a=commitdiff_plain;h=3025f04c140c308afa48483104355dd15600530d;p=rrq%2Fnfblocker.git reduce oddity --- diff --git a/Makefile b/Makefile index e85b5b3..6aabf71 100644 --- a/Makefile +++ b/Makefile @@ -1,12 +1,5 @@ # 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 @@ -14,7 +7,11 @@ 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)