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