bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GNU libunistring 0.9 released


From: Ralf Wildenhues
Subject: Re: GNU libunistring 0.9 released
Date: Tue, 28 Apr 2009 20:24:06 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

Hi Bruno,

* Bruno Haible wrote on Mon, Apr 27, 2009 at 11:32:17PM CEST:
> GNU libunistring 0.9 was released this week. Find below the announcement.

Thanks!

When building this package from git, and in a VPATH build, some gperf
products will be output in the build tree.  Note that in a VPATH build,
whether $@ points to the build or the source tree is dependent upon the
make implementation and upon the question whether a target already
exists but is up to date, or whether it does not exist yet.

Anyway, one solution is to stick '$(srcdir)/' before every reference of
those files.  Another is to simply ensure they can be built in the build
tree if needed; done below.

I've done a cursory grep to find other instances of this.

OK to push?

Cheers,
Ralf

    Ensure the build directory for generated headers exists.
    
    * modules/unicase/locale-language (Makefile.am): When generating
    unicase/locale-languages.h, ensure the subdirectory exists also
    in the build tree.
    * modules/unicase/special-casing: Likewise.
    * modules/unictype/property-byname: Likewise.
    * modules/unictype/scripts: Likewise.
    * modules/uninorm/composition: Likewise.

diff --git a/modules/unicase/locale-language b/modules/unicase/locale-language
index b7970c2..9059087 100644
--- a/modules/unicase/locale-language
+++ b/modules/unicase/locale-language
@@ -16,6 +16,7 @@ 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 > address@hidden
        mv address@hidden $@
 BUILT_SOURCES        += unicase/locale-languages.h
diff --git a/modules/unicase/special-casing b/modules/unicase/special-casing
index 49faaef..e3c75ac 100644
--- a/modules/unicase/special-casing
+++ b/modules/unicase/special-casing
@@ -15,6 +15,7 @@ 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 > 
address@hidden
        mv address@hidden $@
 BUILT_SOURCES        += unicase/special-casing-table.h
diff --git a/modules/unictype/property-byname b/modules/unictype/property-byname
index fe5d600..e21ec63 100644
--- a/modules/unictype/property-byname
+++ b/modules/unictype/property-byname
@@ -94,6 +94,7 @@ 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 > address@hidden
        mv address@hidden $@
 BUILT_SOURCES        += unictype/pr_byname.h
diff --git a/modules/unictype/scripts b/modules/unictype/scripts
index 54e93e9..c79102e 100644
--- a/modules/unictype/scripts
+++ b/modules/unictype/scripts
@@ -16,6 +16,7 @@ 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 > address@hidden
        mv address@hidden $@
 BUILT_SOURCES        += unictype/scripts_byname.h
diff --git a/modules/uninorm/composition b/modules/uninorm/composition
index fb8a5d5..9cdda2e 100644
--- a/modules/uninorm/composition
+++ b/modules/uninorm/composition
@@ -15,6 +15,7 @@ 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 > address@hidden
        mv address@hidden $@
 BUILT_SOURCES        += uninorm/composition-table.h




reply via email to

[Prev in Thread] Current Thread [Next in Thread]