summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-05-07 02:07:58 +0000
committerEric Andersen <andersen@codepoet.org>2002-05-07 02:07:58 +0000
commitfb1c180bcc1fb5cc4e8ca254bd9a34d888dccf88 (patch)
tree788346c45901ba68a621c98a41e061d97defa045 /extra
parented715392d08f4d38cee6a304ccf831cb665dc92b (diff)
Fixup build a bit more
Diffstat (limited to 'extra')
-rw-r--r--extra/locale/Makefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/extra/locale/Makefile b/extra/locale/Makefile
index de985b458..174329817 100644
--- a/extra/locale/Makefile
+++ b/extra/locale/Makefile
@@ -1,5 +1,6 @@
TOPDIR = ../../
+EXTRA_LOCALE_DIR:=${shell cd $(TOPDIR)/extra/locale && pwd}
include $(TOPDIR)Rules.mak
CFLAGS_wc8bit=-DCTYPE_PACKED=1
@@ -17,7 +18,8 @@ codesets.txt:
echo " "; \
echo "You do not have a codesets.txt file. Please create this "; \
echo "file in the extra/locale directory by running something like: "; \
- echo -e " find ./charmaps -name \"*.pairs\" > ./codesets.txt"; \
+ echo -e " find $(EXTRA_LOCALE_DIR)/charmaps -name \"*.pairs\" > \\"; \
+ echo -e " $(EXTRA_LOCALE_DIR)/codesets.txt"; \
echo "and then edit that file to disable/enable the codesets you wish to support. "; \
echo " "; \
/bin/false; \
@@ -51,9 +53,12 @@ locales.txt:
@if [ ! -f locales.txt ] ; then \
set -e; \
echo " "; \
- echo "You do not have a locales.txt file. In the extra/locale "; \
- echo "directory, Please copy the LOCALES file to locales.txt and "; \
- echo "then edit that file to disable/enable the locales you wish "; \
+ echo "You do not have a locales.txt file in the extra/locale "; \
+ echo "directory, Please copy the LOCALES file to locales.txt by "; \
+ echo "running something like: "; \
+ echo " cp $(EXTRA_LOCALE_DIR)/LOCALES \\ "; \
+ echo " $(EXTRA_LOCALE_DIR)/locales.txt "; \
+ echo "then edit locales.txt to disable/enable the locales you wish "; \
echo "to support. "; \
echo " "; \
/bin/false; \