changeset 39169:c95a7a9a94d7

unicase: fix VPATH build * modules/unicase/special-casing (Makefile.am): Ensure that the base directory is created when generating unicase/special-casing.h.
author Daiki Ueno <dueno@redhat.com>
date Mon, 27 Nov 2017 16:14:16 +0100
parents 46eddcdba8c7
children a9880c3cc1e5
files ChangeLog modules/unicase/special-casing
diffstat 2 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon Nov 27 15:45:19 2017 +0100
+++ b/ChangeLog	Mon Nov 27 16:14:16 2017 +0100
@@ -1,3 +1,10 @@
+2017-11-27  Daiki Ueno  <ueno@gnu.org>
+
+	unicase: fix VPATH build
+	* modules/unicase/special-casing (Makefile.am): Ensure that the
+	base directory is created when generating
+	unicase/special-casing.h.
+
 2017-11-27  Daiki Ueno  <ueno@gnu.org>
 
 	libunistring: update to Unicode 9.0.0
--- a/modules/unicase/special-casing	Mon Nov 27 15:45:19 2017 +0100
+++ b/modules/unicase/special-casing	Mon Nov 27 16:14:16 2017 +0100
@@ -24,6 +24,7 @@
 
 # Generate special-casing.h with a declaration that depends on the gperf version.
 unicase/special-casing.h: unicase/special-casing.in.h unicase/special-casing-table.h
+	$(AM_V_at)$(MKDIR_P) unicase
 	$(AM_V_GEN)rm -f $@-t $@ && \
 	declaration=`grep '^gl_unicase_special_lookup' $(srcdir)/unicase/special-casing-table.h | sed -e 's/register //g'` && \
 	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \