From 3025f04c140c308afa48483104355dd15600530d Mon Sep 17 00:00:00 2001 From: Ralph Ronnquist Date: Sun, 16 Feb 2025 10:55:06 +1100 Subject: [PATCH] reduce oddity --- Makefile | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) 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) -- 2.47.2