summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorAkira TAGOH <akira@tagoh.org>2012-01-06 15:36:20 +0900
committerAkira TAGOH <akira@tagoh.org>2012-01-06 15:36:20 +0900
commit0a78793fa84eeedc94efe2cab1af4e7e7c6bd7a6 (patch)
treef249f278ecbffcdcd3f08c568f4a7b9b32444cc9 /data
parentb2f6c1d3b5f2b3d23c9cfcf0bccba0e1f1500a00 (diff)
Add extlang database handler
Diffstat (limited to 'data')
-rw-r--r--data/Makefile.am29
1 files changed, 29 insertions, 0 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
new file mode 100644
index 0000000..8be593d
--- /dev/null
+++ b/data/Makefile.am
@@ -0,0 +1,29 @@
+##
+# Global definitions
+NULL =
+EXTRA_DIST = \
+ $(NULL)
+MAINTAINERCLEANFILES = \
+ language-subtag-registry.xml \
+ $(NULL)
+CLEANFILES = \
+ $(NULL)
+BUILT_FILES = \
+ language-subtag-registry.xml \
+ $(NULL)
+
+##
+# Local definitions
+
+##
+# Local Rules
+language-subtag-registry.xml:
+ wget -O $@ http://langtag.net/registries/language-subtag-registry.xml || \
+ curl -o $@ http://langtag.net/registries/language-subtag-registry.xml
+
+##
+# Target platform
+subtagregistrydir = $(datadir)/liblangtag
+subtagregistry_DATA = \
+ language-subtag-registry.xml \
+ $(NULL)