Make it possible for the first build to be a VPATH build.
authorBruno Haible <bruno@clisp.org>
Fri, 1 May 2009 21:36:40 +0000 (23:36 +0200)
committerBruno Haible <bruno@clisp.org>
Fri, 1 May 2009 21:36:40 +0000 (23:36 +0200)
ChangeLog
lib/uninorm/composition.c
modules/unicase/locale-language
modules/unicase/special-casing
modules/unictype/property-byname
modules/unictype/scripts
modules/uninorm/composition

index 1719958..1b3895f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,28 @@
+2009-05-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+            Bruno Haible  <bruno@clisp.org>
+
+       Make it possible for the first build to be a VPATH build.
+       * modules/unicase/locale-language (configure.ac): Invoke
+       AC_PROG_MKDIR_P.
+       (Makefile.am): When invoking gperf, ensure the destination file's
+       subdirectory exists also in the build tree.
+       * modules/unicase/special-casing (configure.ac): Invoke
+       AC_PROG_MKDIR_P.
+       (Makefile.am): When invoking gperf, ensure the destination file's
+       subdirectory exists also in the build tree.
+       * modules/unictype/property-byname (configure.ac): Invoke
+       AC_PROG_MKDIR_P.
+       (Makefile.am): When invoking gperf, ensure the destination file's
+       subdirectory exists also in the build tree.
+       * modules/unictype/scripts (configure.ac): Invoke AC_PROG_MKDIR_P.
+       (Makefile.am): When invoking gperf, ensure the destination file's
+       subdirectory exists also in the build tree.
+       * modules/uninorm/composition (configure.ac): Invoke AC_PROG_MKDIR_P.
+       (Makefile.am): When invoking gperf, ensure the destination file's
+       subdirectory exists also in the build tree.
+       * lib/uninorm/composition.c: Include "uninorm/composition-table.h", not
+       "composition-table.h".
+
 2009-05-01  Bruno Haible  <bruno@clisp.org>
 
        * lib/wchar.in.h (wcsnrtombs): Define if REPLACE_WCSNRTOMBS is 1.
index 4caf9a0..e1068da 100644 (file)
@@ -24,7 +24,7 @@
 
 struct composition_rule { char codes[4]; unsigned short combined; };
 
-#include "composition-table.h"
+#include "uninorm/composition-table.h"
 
 ucs4_t
 uc_composition (ucs4_t uc1, ucs4_t uc2)
index b7970c2..5354028 100644 (file)
@@ -11,11 +11,13 @@ localename
 gperf
 
 configure.ac:
+AC_PROG_MKDIR_P
 
 Makefile.am:
 lib_SOURCES += unicase/locale-language.c
 
 unicase/locale-languages.h: $(srcdir)/unicase/locale-languages.gperf
+       @MKDIR_P@ unicase
        $(GPERF) -m 10 $(srcdir)/unicase/locale-languages.gperf > $@-t
        mv $@-t $@
 BUILT_SOURCES        += unicase/locale-languages.h
index 49faaef..43f56a9 100644 (file)
@@ -10,11 +10,13 @@ Depends-on:
 gperf
 
 configure.ac:
+AC_PROG_MKDIR_P
 
 Makefile.am:
 lib_SOURCES += unicase/special-casing.c
 
 unicase/special-casing-table.h: $(srcdir)/unicase/special-casing-table.gperf
+       @MKDIR_P@ unicase
        $(GPERF) -m 10 $(srcdir)/unicase/special-casing-table.gperf > $@-t
        mv $@-t $@
 BUILT_SOURCES        += unicase/special-casing-table.h
index fe5d600..eb5e7a6 100644 (file)
@@ -89,11 +89,13 @@ unictype/property-zero-width
 gperf
 
 configure.ac:
+AC_PROG_MKDIR_P
 
 Makefile.am:
 lib_SOURCES += unictype/pr_byname.c
 
 unictype/pr_byname.h: unictype/pr_byname.gperf
+       @MKDIR_P@ unictype
        $(GPERF) -m 10 $(srcdir)/unictype/pr_byname.gperf > $@-t
        mv $@-t $@
 BUILT_SOURCES        += unictype/pr_byname.h
index 54e93e9..290d3e3 100644 (file)
@@ -11,11 +11,13 @@ unictype/base
 gperf
 
 configure.ac:
+AC_PROG_MKDIR_P
 
 Makefile.am:
 lib_SOURCES += unictype/scripts.c
 
 unictype/scripts_byname.h: unictype/scripts_byname.gperf
+       @MKDIR_P@ unictype
        $(GPERF) -m 10 $(srcdir)/unictype/scripts_byname.gperf > $@-t
        mv $@-t $@
 BUILT_SOURCES        += unictype/scripts_byname.h
index fb8a5d5..135cd37 100644 (file)
@@ -10,11 +10,13 @@ uninorm/base
 gperf
 
 configure.ac:
+AC_PROG_MKDIR_P
 
 Makefile.am:
 lib_SOURCES += uninorm/composition.c
 
 uninorm/composition-table.h: $(srcdir)/uninorm/composition-table.gperf
+       @MKDIR_P@ uninorm
        $(GPERF) -m 1 $(srcdir)/uninorm/composition-table.gperf > $@-t
        mv $@-t $@
 BUILT_SOURCES        += uninorm/composition-table.h