aboutsummaryrefslogtreecommitdiff
path: root/iconvdata
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-04-24 16:33:09 +0000
committerUlrich Drepper <drepper@redhat.com>1998-04-24 16:33:09 +0000
commit0111b22411a97d6e8357eb97c1b71e5cd84b9102 (patch)
tree440d8504e02ffd4f53e1afb61c5ac02ad23e2a79 /iconvdata
parent5408c7570131baaac58facae8aa091195ab3492d (diff)
downloadglibc-0111b22411a97d6e8357eb97c1b71e5cd84b9102.zip
glibc-0111b22411a97d6e8357eb97c1b71e5cd84b9102.tar.gz
glibc-0111b22411a97d6e8357eb97c1b71e5cd84b9102.tar.bz2
Update.
1998-04-24 16:30 Ulrich Drepper <drepper@cygnus.com> * iconvdata/Makefile: Create target directory before generating headers.
Diffstat (limited to 'iconvdata')
-rw-r--r--iconvdata/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/iconvdata/Makefile b/iconvdata/Makefile
index 439a650..43a996f 100644
--- a/iconvdata/Makefile
+++ b/iconvdata/Makefile
@@ -212,6 +212,7 @@ install-others = $(addprefix $(inst_gconvdir)/, $(modules.so)) \
# If we have the localedata add-on available we can build the conversion
# tables for numerous charsets.
define generate-8bit-table
+$(make-target-directory)
( echo "static const uint32_t to_ucs4[256] = {"; \
sed -e '/^[^[:space:]]*[[:space:]]*.x00/d' -e 's/^[^[:space:]]*[[:space:]]*.x\(..\)[[:space:]]*<U\(....\)>.*/ [0x\1] = 0x\2,/p' -e d $^ | sort -u; \
echo "};"; \
@@ -233,6 +234,7 @@ sed-generated-headers := iso8859-2.h iso8859-3.h iso8859-4.h iso8859-5.h \
ibm904.h ibm905.h ibm1047.h
define generate-8bit-gap-table
+$(make-target-directory)
( echo "static const uint32_t to_ucs4[256] = {"; \
sed -e '/^[^[:space:]]*[[:space:]]*.x00/d' -e 's/^[^[:space:]]*[[:space:]]*.x\(..\)[[:space:]]*<U\(....\)>.*/ [0x\1] = 0x\2,/p' -e d $^ | sort -u; \
echo "};"; \