From 372797d2029584f1e6836e708c2cef496767ea2b Mon Sep 17 00:00:00 2001 From: "Reece H. Dunn" Date: Sat, 11 Feb 2017 10:21:38 +0000 Subject: [PATCH] Support local UCD data using a UCD_SRCDIR variable. --- Makefile.am | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Makefile.am b/Makefile.am index b879b80a..dfb3d16c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -57,22 +57,23 @@ EXTRA_DIST += ChangeLog UCD_VERSION=@UCD_VERSION@ UCD_ROOTDIR=data/ucd +UCD_SRCDIR=http://www.unicode.org/Public data/ucd/PropList.txt: mkdir -pv data/ucd - wget -O $@ http://www.unicode.org/Public/${UCD_VERSION}/ucd/PropList.txt + curl ${UCD_SRCDIR}/${UCD_VERSION}/ucd/PropList.txt > $@ data/ucd/PropertyValueAliases.txt: mkdir -pv data/ucd - wget -O $@ http://www.unicode.org/Public/${UCD_VERSION}/ucd/PropertyValueAliases.txt + curl ${UCD_SRCDIR}/${UCD_VERSION}/ucd/PropertyValueAliases.txt > $@ data/ucd/Scripts.txt: mkdir -pv data/ucd - wget -O $@ http://www.unicode.org/Public/${UCD_VERSION}/ucd/Scripts.txt + curl ${UCD_SRCDIR}/${UCD_VERSION}/ucd/Scripts.txt > $@ data/ucd/UnicodeData.txt: mkdir -pv data/ucd - wget -O $@ http://www.unicode.org/Public/${UCD_VERSION}/ucd/UnicodeData.txt + curl ${UCD_SRCDIR}/${UCD_VERSION}/ucd/UnicodeData.txt > $@ ############################# documentation ###################################