aboutsummaryrefslogtreecommitdiffstats
path: root/regexp/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'regexp/Makefile.am')
-rw-r--r--regexp/Makefile.am13
1 files changed, 13 insertions, 0 deletions
diff --git a/regexp/Makefile.am b/regexp/Makefile.am
index 8f3c1ce7f..db0c166a5 100644
--- a/regexp/Makefile.am
+++ b/regexp/Makefile.am
@@ -26,3 +26,16 @@ AM_CFLAGS =
libregexp_a_SOURCES = jimregexp.h utf8.h jimregexp.c utf8.c
libregexp_a_CFLAGS = $(AM_CFLAGS)
+
+EXTRA_DIST = parse-unidata.awk UnicodeData.txt
+
+utf8.o: _unicode_mapping.c
+
+if MAINTAINER_MODE
+MAINTAINERCLEANFILES = _unicode_mapping.c
+
+_unicode_mapping.c: parse-unidata.awk UnicodeData.txt
+ $(AWK) -f $(srcdir)/parse-unidata.awk $(srcdir)/UnicodeData.txt >$@
+else
+EXTRA_DIST += _unicode_mapping.c
+endif