Create gperf-generated files in the source dir, not in the build dir.
authorBruno Haible <bruno@clisp.org>
Mon, 4 May 2009 00:03:30 +0000 (02:03 +0200)
committerBruno Haible <bruno@clisp.org>
Mon, 4 May 2009 00:03:30 +0000 (02:03 +0200)
ChangeLog
modules/iconv_open
modules/unicase/locale-language
modules/unicase/special-casing
modules/unictype/property-byname
modules/unictype/scripts
modules/uninorm/composition

index 81b3a25b31f9e1ab707244057241edeb5952ae2c..9c811f161e36f333194d4723076366d78bbbd5c2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,17 @@
+2009-05-03  Bruno Haible  <bruno@clisp.org>
+
+       Create gperf-generated file in the source dir, not in the build dir.
+       * modules/iconv_open (iconv_open-aix.h, iconv_open-hpux.h,
+       iconv_open-irix.h, iconv_open-osf.h): Create file in the source tree.
+       * modules/unicase/locale-language (unicase/locale-languages.h):
+       Likewise.
+       * modules/unicase/special-casing (unicase/special-casing-table.h):
+       Likewise.
+       * modules/unictype/property-byname (unictype/pr_byname.h): Likewise.
+       * modules/unictype/scripts (unictype/scripts_byname.h): Likewise.
+       * modules/uninorm/composition (uninorm/composition-table.h): Likewise.
+       Reported by Ralf Wildenhues.
+
 2009-05-03  Bruno Haible  <bruno@clisp.org>
 
        * modules/fnmatch (Description, configure.ac): Taken from
index 014697ebbb399e7cf7c764eb8f7347f8c909a762..04a1ff9f5d8674831ac18b0f1289f4683f34e4eb 100644 (file)
@@ -43,17 +43,17 @@ iconv.h: iconv.in.h
 MOSTLYCLEANFILES += iconv.h iconv.h-t
 
 iconv_open-aix.h: iconv_open-aix.gperf
-       $(GPERF) -m 10 $(srcdir)/iconv_open-aix.gperf > $@-t
-       mv $@-t $@
+       $(GPERF) -m 10 $(srcdir)/iconv_open-aix.gperf > $(srcdir)/iconv_open-aix.h-t
+       mv $(srcdir)/iconv_open-aix.h-t $(srcdir)/iconv_open-aix.h
 iconv_open-hpux.h: iconv_open-hpux.gperf
-       $(GPERF) -m 10 $(srcdir)/iconv_open-hpux.gperf > $@-t
-       mv $@-t $@
+       $(GPERF) -m 10 $(srcdir)/iconv_open-hpux.gperf > $(srcdir)/iconv_open-hpux.h-t
+       mv $(srcdir)/iconv_open-hpux.h-t $(srcdir)/iconv_open-hpux.h
 iconv_open-irix.h: iconv_open-irix.gperf
-       $(GPERF) -m 10 $(srcdir)/iconv_open-irix.gperf > $@-t
-       mv $@-t $@
+       $(GPERF) -m 10 $(srcdir)/iconv_open-irix.gperf > $(srcdir)/iconv_open-irix.h-t
+       mv $(srcdir)/iconv_open-irix.h-t $(srcdir)/iconv_open-irix.h
 iconv_open-osf.h: iconv_open-osf.gperf
-       $(GPERF) -m 10 $(srcdir)/iconv_open-osf.gperf > $@-t
-       mv $@-t $@
+       $(GPERF) -m 10 $(srcdir)/iconv_open-osf.gperf > $(srcdir)/iconv_open-osf.h-t
+       mv $(srcdir)/iconv_open-osf.h-t $(srcdir)/iconv_open-osf.h
 BUILT_SOURCES        += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h
 MOSTLYCLEANFILES     += iconv_open-aix.h-t iconv_open-hpux.h-t iconv_open-irix.h-t iconv_open-osf.h-t
 MAINTAINERCLEANFILES += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h
index b7970c2d31d84237aa2b7f34a5d409e998bcc49c..71036f1cfc871cf4ce5c240d971c3f741ef086af 100644 (file)
@@ -16,8 +16,8 @@ Makefile.am:
 lib_SOURCES += unicase/locale-language.c
 
 unicase/locale-languages.h: $(srcdir)/unicase/locale-languages.gperf
-       $(GPERF) -m 10 $(srcdir)/unicase/locale-languages.gperf > $@-t
-       mv $@-t $@
+       $(GPERF) -m 10 $(srcdir)/unicase/locale-languages.gperf > $(srcdir)/unicase/locale-languages.h-t
+       mv $(srcdir)/unicase/locale-languages.h-t $(srcdir)/unicase/locale-languages.h
 BUILT_SOURCES        += unicase/locale-languages.h
 MOSTLYCLEANFILES     += unicase/locale-languages.h-t
 MAINTAINERCLEANFILES += unicase/locale-languages.h
index 49faaef2bba04a78012581ea84f4e63c449eea13..53e65df902d9a28f295308605971391e9073dae5 100644 (file)
@@ -15,8 +15,8 @@ Makefile.am:
 lib_SOURCES += unicase/special-casing.c
 
 unicase/special-casing-table.h: $(srcdir)/unicase/special-casing-table.gperf
-       $(GPERF) -m 10 $(srcdir)/unicase/special-casing-table.gperf > $@-t
-       mv $@-t $@
+       $(GPERF) -m 10 $(srcdir)/unicase/special-casing-table.gperf > $(srcdir)/unicase/special-casing-table.h-t
+       mv $(srcdir)/unicase/special-casing-table.h-t $(srcdir)/unicase/special-casing-table.h
 BUILT_SOURCES        += unicase/special-casing-table.h
 MOSTLYCLEANFILES     += unicase/special-casing-table.h-t
 MAINTAINERCLEANFILES += unicase/special-casing-table.h
index fe5d600ee1cc0c858d110bb231b870842b31c7e7..b50911b61f6da7df524fe67f2971d6435e07051e 100644 (file)
@@ -94,8 +94,8 @@ Makefile.am:
 lib_SOURCES += unictype/pr_byname.c
 
 unictype/pr_byname.h: unictype/pr_byname.gperf
-       $(GPERF) -m 10 $(srcdir)/unictype/pr_byname.gperf > $@-t
-       mv $@-t $@
+       $(GPERF) -m 10 $(srcdir)/unictype/pr_byname.gperf > $(srcdir)/unictype/pr_byname.h-t
+       mv $(srcdir)/unictype/pr_byname.h-t $(srcdir)/unictype/pr_byname.h
 BUILT_SOURCES        += unictype/pr_byname.h
 MOSTLYCLEANFILES     += unictype/pr_byname.h-t
 MAINTAINERCLEANFILES += unictype/pr_byname.h
index 54e93e954758198b344e1707200be8ca60e28219..6d5c71b226ef3f5c8bd0ff73c55e1c58cf12a80e 100644 (file)
@@ -16,8 +16,8 @@ Makefile.am:
 lib_SOURCES += unictype/scripts.c
 
 unictype/scripts_byname.h: unictype/scripts_byname.gperf
-       $(GPERF) -m 10 $(srcdir)/unictype/scripts_byname.gperf > $@-t
-       mv $@-t $@
+       $(GPERF) -m 10 $(srcdir)/unictype/scripts_byname.gperf > $(srcdir)/unictype/scripts_byname.h-t
+       mv $(srcdir)/unictype/scripts_byname.h-t $(srcdir)/unictype/scripts_byname.h
 BUILT_SOURCES        += unictype/scripts_byname.h
 MOSTLYCLEANFILES     += unictype/scripts_byname.h-t
 MAINTAINERCLEANFILES += unictype/scripts_byname.h
index fb8a5d508af644053b3e09af73a8bda02c71b9f4..4b8b1df029d2e68a23fe6331a5f0f545092f0db9 100644 (file)
@@ -15,8 +15,8 @@ Makefile.am:
 lib_SOURCES += uninorm/composition.c
 
 uninorm/composition-table.h: $(srcdir)/uninorm/composition-table.gperf
-       $(GPERF) -m 1 $(srcdir)/uninorm/composition-table.gperf > $@-t
-       mv $@-t $@
+       $(GPERF) -m 1 $(srcdir)/uninorm/composition-table.gperf > $(srcdir)/uninorm/composition-table.h-t
+       mv $(srcdir)/uninorm/composition-table.h-t $(srcdir)/uninorm/composition-table.h
 BUILT_SOURCES        += uninorm/composition-table.h
 MOSTLYCLEANFILES     += uninorm/composition-table.h-t
 MAINTAINERCLEANFILES += uninorm/composition-table.h