|
@@ -1,5 +1,6 @@
|
|
|
|
|
|
TOPDIR = ../../
|
|
TOPDIR = ../../
|
|
|
|
+EXTRA_LOCALE_DIR:=${shell cd $(TOPDIR)/extra/locale && pwd}
|
|
include $(TOPDIR)Rules.mak
|
|
include $(TOPDIR)Rules.mak
|
|
|
|
|
|
CFLAGS_wc8bit=-DCTYPE_PACKED=1
|
|
CFLAGS_wc8bit=-DCTYPE_PACKED=1
|
|
@@ -17,7 +18,8 @@ codesets.txt:
|
|
echo " "; \
|
|
echo " "; \
|
|
echo "You do not have a codesets.txt file. Please create this "; \
|
|
echo "You do not have a codesets.txt file. Please create this "; \
|
|
echo "file in the extra/locale directory by running something like: "; \
|
|
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 "and then edit that file to disable/enable the codesets you wish to support. "; \
|
|
echo " "; \
|
|
echo " "; \
|
|
/bin/false; \
|
|
/bin/false; \
|
|
@@ -51,9 +53,12 @@ locales.txt:
|
|
@if [ ! -f locales.txt ] ; then \
|
|
@if [ ! -f locales.txt ] ; then \
|
|
set -e; \
|
|
set -e; \
|
|
echo " "; \
|
|
echo " "; \
|
|
- echo "You do not have a locales.txt file. In the extra/locale "; \
|
|
+ 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 "directory, Please copy the LOCALES file to locales.txt by "; \
|
|
- echo "then edit that file to disable/enable the locales you wish "; \
|
|
+ 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 "to support. "; \
|
|
echo " "; \
|
|
echo " "; \
|
|
/bin/false; \
|
|
/bin/false; \
|