From 268c1b6077cacef268f9ac35d0d882d35d71f0f0 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut <peter_e@gmx.net> Date: Fri, 24 Feb 2006 13:25:44 +0000 Subject: [PATCH] The Makefile was invoking perl scripts as ./script.pl. This fails when the script is not executable as UCS_to_most.pl is in CVS. It also won't pick up any custom setting of the perl version/location to use. This patch calls perl scripts like $(PERL) $(srcdir)/script.pl. Kris Jurka --- src/backend/utils/mb/Unicode/Makefile | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/backend/utils/mb/Unicode/Makefile b/src/backend/utils/mb/Unicode/Makefile index b98b00d1f99..39961707785 100644 --- a/src/backend/utils/mb/Unicode/Makefile +++ b/src/backend/utils/mb/Unicode/Makefile @@ -4,7 +4,7 @@ # # Copyright (c) 2001-2005, PostgreSQL Global Development Group # -# $PostgreSQL: pgsql/src/backend/utils/mb/Unicode/Makefile,v 1.10 2006/02/18 16:15:22 petere Exp $ +# $PostgreSQL: pgsql/src/backend/utils/mb/Unicode/Makefile,v 1.11 2006/02/24 13:25:44 petere Exp $ # #------------------------------------------------------------------------- @@ -69,25 +69,25 @@ GENERICTEXTS = $(ISO8859TEXTS) $(WINTEXTS) \ all: $(MAPS) $(GENERICMAPS) : $(GENERICTEXTS) - ./UCS_to_most.pl + $(PERL) $(srcdir)/UCS_to_most.pl euc_jp_to_utf8.map utf8_to_euc_jp.map : JIS0201.TXT JIS0208.TXT JIS0212.TXT - ./UCS_to_EUC_JP.pl + $(PERL) $(srcdir)/UCS_to_EUC_JP.pl euc_cn_to_utf8.map utf8_to_euc_cn.map : GB2312.TXT - ./UCS_to_EUC_CN.pl + $(PERL) $(srcdir)/UCS_to_EUC_CN.pl euc_kr_to_utf8.map utf8_to_euc_kr.map : KSX1001.TXT - ./UCS_to_EUC_KR.pl + $(PERL) $(srcdir)/UCS_to_EUC_KR.pl euc_tw_to_utf8.map utf8_to_euc_tw.map : CNS11643.TXT - ./UCS_to_EUC_TW.pl + $(PERL) $(srcdir)/UCS_to_EUC_TW.pl sjis_to_utf8.map utf8_to_sjis.map : CP932.TXT - ./UCS_to_SJIS.pl + $(PERL) $(srcdir)/UCS_to_SJIS.pl gb18030_to_utf8.map utf8_to_gb18030.map : ISO10646-GB18030.TXT - ./UCS_to_GB18030.pl + $(PERL) $(srcdir)/UCS_to_GB18030.pl clean: rm -f $(MAPS) -- GitLab