summaryrefslogtreecommitdiff
path: root/modules/unictype
diff options
context:
space:
mode:
Diffstat (limited to 'modules/unictype')
-rw-r--r--modules/unictype/bidiclass-byname7
-rw-r--r--modules/unictype/category-byname7
-rw-r--r--modules/unictype/combining-class-byname7
-rw-r--r--modules/unictype/joininggroup-byname7
-rw-r--r--modules/unictype/joiningtype-byname7
-rw-r--r--modules/unictype/property-byname7
-rw-r--r--modules/unictype/scripts7
7 files changed, 28 insertions, 21 deletions
diff --git a/modules/unictype/bidiclass-byname b/modules/unictype/bidiclass-byname
index e41b4f0b1c..ceade91b7f 100644
--- a/modules/unictype/bidiclass-byname
+++ b/modules/unictype/bidiclass-byname
@@ -18,10 +18,11 @@ lib_SOURCES += unictype/bidi_byname.c
endif
$(srcdir)/unictype/bidi_byname.h: $(srcdir)/unictype/bidi_byname.gperf
- $(V_GPERF)$(GPERF) -m 10 $(srcdir)/unictype/bidi_byname.gperf > $(srcdir)/unictype/bidi_byname.h-t && \
- mv $(srcdir)/unictype/bidi_byname.h-t $(srcdir)/unictype/bidi_byname.h
+ $(V_GPERF)$(GPERF) -m 10 $(srcdir)/unictype/bidi_byname.gperf > $(srcdir)/unictype/bidi_byname.h-t1 \
+ && sed -e 's/^const/static const/' < $(srcdir)/unictype/bidi_byname.h-t1 > $(srcdir)/unictype/bidi_byname.h-t2 \
+ && mv $(srcdir)/unictype/bidi_byname.h-t2 $(srcdir)/unictype/bidi_byname.h
BUILT_SOURCES += unictype/bidi_byname.h
-MOSTLYCLEANFILES += unictype/bidi_byname.h-t
+MOSTLYCLEANFILES += unictype/bidi_byname.h-t1 unictype/bidi_byname.h-t2
MAINTAINERCLEANFILES += unictype/bidi_byname.h
EXTRA_DIST += unictype/bidi_byname.h
diff --git a/modules/unictype/category-byname b/modules/unictype/category-byname
index a0117333f1..df08bcdb17 100644
--- a/modules/unictype/category-byname
+++ b/modules/unictype/category-byname
@@ -57,10 +57,11 @@ lib_SOURCES += unictype/categ_byname.c
endif
$(srcdir)/unictype/categ_byname.h: $(srcdir)/unictype/categ_byname.gperf
- $(V_GPERF)$(GPERF) -m 10 $(srcdir)/unictype/categ_byname.gperf > $(srcdir)/unictype/categ_byname.h-t && \
- mv $(srcdir)/unictype/categ_byname.h-t $(srcdir)/unictype/categ_byname.h
+ $(V_GPERF)$(GPERF) -m 10 $(srcdir)/unictype/categ_byname.gperf > $(srcdir)/unictype/categ_byname.h-t1 \
+ && sed -e 's/^const/static const/' < $(srcdir)/unictype/categ_byname.h-t1 > $(srcdir)/unictype/categ_byname.h-t2 \
+ && mv $(srcdir)/unictype/categ_byname.h-t2 $(srcdir)/unictype/categ_byname.h
BUILT_SOURCES += unictype/categ_byname.h
-MOSTLYCLEANFILES += unictype/categ_byname.h-t
+MOSTLYCLEANFILES += unictype/categ_byname.h-t1 unictype/categ_byname.h-t2
MAINTAINERCLEANFILES += unictype/categ_byname.h
EXTRA_DIST += unictype/categ_byname.h
diff --git a/modules/unictype/combining-class-byname b/modules/unictype/combining-class-byname
index e4a70a3bf0..f4d0194aac 100644
--- a/modules/unictype/combining-class-byname
+++ b/modules/unictype/combining-class-byname
@@ -18,10 +18,11 @@ lib_SOURCES += unictype/combiningclass_byname.c
endif
$(srcdir)/unictype/combiningclass_byname.h: $(srcdir)/unictype/combiningclass_byname.gperf
- $(V_GPERF)$(GPERF) -m 10 $(srcdir)/unictype/combiningclass_byname.gperf > $(srcdir)/unictype/combiningclass_byname.h-t && \
- mv $(srcdir)/unictype/combiningclass_byname.h-t $(srcdir)/unictype/combiningclass_byname.h
+ $(V_GPERF)$(GPERF) -m 10 $(srcdir)/unictype/combiningclass_byname.gperf > $(srcdir)/unictype/combiningclass_byname.h-t1 \
+ && sed -e 's/^const/static const/' < $(srcdir)/unictype/combiningclass_byname.h-t1 > $(srcdir)/unictype/combiningclass_byname.h-t2 \
+ && mv $(srcdir)/unictype/combiningclass_byname.h-t2 $(srcdir)/unictype/combiningclass_byname.h
BUILT_SOURCES += unictype/combiningclass_byname.h
-MOSTLYCLEANFILES += unictype/combiningclass_byname.h-t
+MOSTLYCLEANFILES += unictype/combiningclass_byname.h-t1 unictype/combiningclass_byname.h-t2
MAINTAINERCLEANFILES += unictype/combiningclass_byname.h
EXTRA_DIST += unictype/combiningclass_byname.h
diff --git a/modules/unictype/joininggroup-byname b/modules/unictype/joininggroup-byname
index cb5765fd52..a86df455bf 100644
--- a/modules/unictype/joininggroup-byname
+++ b/modules/unictype/joininggroup-byname
@@ -18,10 +18,11 @@ lib_SOURCES += unictype/joininggroup_byname.c
endif
$(srcdir)/unictype/joininggroup_byname.h: $(srcdir)/unictype/joininggroup_byname.gperf
- $(V_GPERF)$(GPERF) -m 10 $(srcdir)/unictype/joininggroup_byname.gperf > $(srcdir)/unictype/joininggroup_byname.h-t && \
- mv $(srcdir)/unictype/joininggroup_byname.h-t $(srcdir)/unictype/joininggroup_byname.h
+ $(V_GPERF)$(GPERF) -m 10 $(srcdir)/unictype/joininggroup_byname.gperf > $(srcdir)/unictype/joininggroup_byname.h-t1 \
+ && sed -e 's/^const/static const/' < $(srcdir)/unictype/joininggroup_byname.h-t1 > $(srcdir)/unictype/joininggroup_byname.h-t2 \
+ && mv $(srcdir)/unictype/joininggroup_byname.h-t2 $(srcdir)/unictype/joininggroup_byname.h
BUILT_SOURCES += unictype/joininggroup_byname.h
-MOSTLYCLEANFILES += unictype/joininggroup_byname.h-t
+MOSTLYCLEANFILES += unictype/joininggroup_byname.h-t1 unictype/joininggroup_byname.h-t2
MAINTAINERCLEANFILES += unictype/joininggroup_byname.h
EXTRA_DIST += unictype/joininggroup_byname.h
diff --git a/modules/unictype/joiningtype-byname b/modules/unictype/joiningtype-byname
index 8c8c669356..e89794f856 100644
--- a/modules/unictype/joiningtype-byname
+++ b/modules/unictype/joiningtype-byname
@@ -18,10 +18,11 @@ lib_SOURCES += unictype/joiningtype_byname.c
endif
$(srcdir)/unictype/joiningtype_byname.h: $(srcdir)/unictype/joiningtype_byname.gperf
- $(V_GPERF)$(GPERF) -m 10 $(srcdir)/unictype/joiningtype_byname.gperf > $(srcdir)/unictype/joiningtype_byname.h-t && \
- mv $(srcdir)/unictype/joiningtype_byname.h-t $(srcdir)/unictype/joiningtype_byname.h
+ $(V_GPERF)$(GPERF) -m 10 $(srcdir)/unictype/joiningtype_byname.gperf > $(srcdir)/unictype/joiningtype_byname.h-t1 \
+ && sed -e 's/^const/static const/' < $(srcdir)/unictype/joiningtype_byname.h-t1 > $(srcdir)/unictype/joiningtype_byname.h-t2 \
+ && mv $(srcdir)/unictype/joiningtype_byname.h-t2 $(srcdir)/unictype/joiningtype_byname.h
BUILT_SOURCES += unictype/joiningtype_byname.h
-MOSTLYCLEANFILES += unictype/joiningtype_byname.h-t
+MOSTLYCLEANFILES += unictype/joiningtype_byname.h-t1 unictype/joiningtype_byname.h-t2
MAINTAINERCLEANFILES += unictype/joiningtype_byname.h
EXTRA_DIST += unictype/joiningtype_byname.h
diff --git a/modules/unictype/property-byname b/modules/unictype/property-byname
index 0a10709bcf..9ffe6efab1 100644
--- a/modules/unictype/property-byname
+++ b/modules/unictype/property-byname
@@ -104,10 +104,11 @@ lib_SOURCES += unictype/pr_byname.c
endif
$(srcdir)/unictype/pr_byname.h: $(srcdir)/unictype/pr_byname.gperf
- $(V_GPERF)$(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
+ $(V_GPERF)$(GPERF) -m 10 $(srcdir)/unictype/pr_byname.gperf > $(srcdir)/unictype/pr_byname.h-t1 \
+ && sed -e 's/^const/static const/' < $(srcdir)/unictype/pr_byname.h-t1 > $(srcdir)/unictype/pr_byname.h-t2 \
+ && mv $(srcdir)/unictype/pr_byname.h-t2 $(srcdir)/unictype/pr_byname.h
BUILT_SOURCES += unictype/pr_byname.h
-MOSTLYCLEANFILES += unictype/pr_byname.h-t
+MOSTLYCLEANFILES += unictype/pr_byname.h-t1 unictype/pr_byname.h-t2
MAINTAINERCLEANFILES += unictype/pr_byname.h
EXTRA_DIST += unictype/pr_byname.h
diff --git a/modules/unictype/scripts b/modules/unictype/scripts
index 8f8b057ffc..12185e09a7 100644
--- a/modules/unictype/scripts
+++ b/modules/unictype/scripts
@@ -19,10 +19,11 @@ lib_SOURCES += unictype/scripts.c
endif
$(srcdir)/unictype/scripts_byname.h: $(srcdir)/unictype/scripts_byname.gperf
- $(V_GPERF)$(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
+ $(V_GPERF)$(GPERF) -m 10 $(srcdir)/unictype/scripts_byname.gperf > $(srcdir)/unictype/scripts_byname.h-t1 \
+ && sed -e 's/^const/static const/' < $(srcdir)/unictype/scripts_byname.h-t1 > $(srcdir)/unictype/scripts_byname.h-t2 \
+ && mv $(srcdir)/unictype/scripts_byname.h-t2 $(srcdir)/unictype/scripts_byname.h
BUILT_SOURCES += unictype/scripts_byname.h
-MOSTLYCLEANFILES += unictype/scripts_byname.h-t
+MOSTLYCLEANFILES += unictype/scripts_byname.h-t1 unictype/scripts_byname.h-t2
MAINTAINERCLEANFILES += unictype/scripts_byname.h
EXTRA_DIST += unictype/scripts_byname.h