reduce oddity
authorRalph Ronnquist <rrq@rrq.au>
Sat, 15 Feb 2025 23:55:06 +0000 (10:55 +1100)
committerRalph Ronnquist <rrq@rrq.au>
Sat, 15 Feb 2025 23:55:06 +0000 (10:55 +1100)
Makefile

index e85b5b31042409ac7c60570339d49fbda7a9eb4e..6aabf719f24a1cb8738b80ee53107fc2b836842d 100644 (file)
--- 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)