summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2016-09-18 12:02:12 (GMT)
committer Vincent Sanders <vince@kyllikki.org>2016-09-18 12:02:12 (GMT)
commit0deeebf9d637750b4957575baee45c5bc13edc1d (patch)
treea973d648f4f3ddb2ed5881f54aaa004706d6789e
parente5de315d3e85f55839ec5b166dbfbb515c3164a4 (diff)
downloadlibnspsl-0deeebf9d637750b4957575baee45c5bc13edc1d.tar.gz
libnspsl-0deeebf9d637750b4957575baee45c5bc13edc1d.tar.bz2
move public suffic list database out of source
-rw-r--r--Makefile4
-rw-r--r--public_suffix_list.dat (renamed from src/public_suffix_list.dat)0
-rw-r--r--src/Makefile5
3 files changed, 5 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 1a9c1ed..2877679 100644
--- a/Makefile
+++ b/Makefile
@@ -46,3 +46,7 @@ I := /$(INCLUDEDIR)
INSTALL_ITEMS := $(INSTALL_ITEMS) $(I):include/nspsl.h
INSTALL_ITEMS := $(INSTALL_ITEMS) /$(LIBDIR)/pkgconfig:lib$(COMPONENT).pc.in
INSTALL_ITEMS := $(INSTALL_ITEMS) /$(LIBDIR):$(OUTPUT)
+
+# obtain public suffix list database from upstream
+public_suffix_list.dat:
+ wget -O $@ https://publicsuffix.org/list/public_suffix_list.dat
diff --git a/src/public_suffix_list.dat b/public_suffix_list.dat
index dac68ef..dac68ef 100644
--- a/src/public_suffix_list.dat
+++ b/public_suffix_list.dat
diff --git a/src/Makefile b/src/Makefile
index dce2baf..35aba13 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -2,10 +2,7 @@ DIR_SOURCES := nspsl.c
src/nspsl.c:src/psl.inc
-src/psl.inc:src/public_suffix_list.dat
+src/psl.inc:public_suffix_list.dat
perl src/genpubsuffix.pl $< > $@
-src/public_suffix_list.dat:
- wget -O $@ https://publicsuffix.org/list/public_suffix_list.dat
-
include $(NSBUILD)/Makefile.subdir