From 0973b18da9ba67e1ae9e2a1dc04a5e061421e1f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9gory=20Soutad=C3=A9?= Date: Wed, 24 Feb 2016 19:17:40 +0100 Subject: [PATCH] Add force_ip_data rule to data Makefile --- data/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/data/Makefile b/data/Makefile index 571b7ce..eaf4b1c 100644 --- a/data/Makefile +++ b/data/Makefile @@ -21,11 +21,14 @@ $(PROVIDERS): @md5sum -c $@ || wget "ftp://ftp.ripe.net/pub/stats/$(basename $@)/delegated-$(basename $@)-extended-latest" -O $(basename $@) ; true $(DEST): $(PROVIDERS) - @cat $(PROVIDERS) | grep -v asn | grep -v summary | grep -v '#' | grep ipv[46] | sort -n -k 4 -t '|' > $(DEST) + @cat $(PROVIDERS) | grep -v asn | grep -v summary | grep -v '#' | grep ipv[46] | grep -v reserved | sort -n -k 4 -t '|' > $(DEST) $(IP_DATA): $(DEST) @echo "Rebuild ip_data.c" @./build_c_array.py > ../src/ip_data.c +force_ip_data: + @echo "Force rebuild ip_data.c" + @./build_c_array.py > ../src/ip_data.c clean: rm -f $(PROVIDERS) $(DEST) $(SHA1_FILE) $(MD5) \ No newline at end of file