Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 268c1b6

Browse files
committed
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
1 parent 2b69571 commit 268c1b6

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/backend/utils/mb/Unicode/Makefile

+8-8
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
# Copyright (c) 2001-2005, PostgreSQL Global Development Group
66
#
7-
# $PostgreSQL: pgsql/src/backend/utils/mb/Unicode/Makefile,v 1.10 2006/02/18 16:15:22 petere Exp $
7+
# $PostgreSQL: pgsql/src/backend/utils/mb/Unicode/Makefile,v 1.11 2006/02/24 13:25:44 petere Exp $
88
#
99
#-------------------------------------------------------------------------
1010

@@ -69,25 +69,25 @@ GENERICTEXTS = $(ISO8859TEXTS) $(WINTEXTS) \
6969
all: $(MAPS)
7070

7171
$(GENERICMAPS) : $(GENERICTEXTS)
72-
./UCS_to_most.pl
72+
$(PERL) $(srcdir)/UCS_to_most.pl
7373

7474
euc_jp_to_utf8.map utf8_to_euc_jp.map : JIS0201.TXT JIS0208.TXT JIS0212.TXT
75-
./UCS_to_EUC_JP.pl
75+
$(PERL) $(srcdir)/UCS_to_EUC_JP.pl
7676

7777
euc_cn_to_utf8.map utf8_to_euc_cn.map : GB2312.TXT
78-
./UCS_to_EUC_CN.pl
78+
$(PERL) $(srcdir)/UCS_to_EUC_CN.pl
7979

8080
euc_kr_to_utf8.map utf8_to_euc_kr.map : KSX1001.TXT
81-
./UCS_to_EUC_KR.pl
81+
$(PERL) $(srcdir)/UCS_to_EUC_KR.pl
8282

8383
euc_tw_to_utf8.map utf8_to_euc_tw.map : CNS11643.TXT
84-
./UCS_to_EUC_TW.pl
84+
$(PERL) $(srcdir)/UCS_to_EUC_TW.pl
8585

8686
sjis_to_utf8.map utf8_to_sjis.map : CP932.TXT
87-
./UCS_to_SJIS.pl
87+
$(PERL) $(srcdir)/UCS_to_SJIS.pl
8888

8989
gb18030_to_utf8.map utf8_to_gb18030.map : ISO10646-GB18030.TXT
90-
./UCS_to_GB18030.pl
90+
$(PERL) $(srcdir)/UCS_to_GB18030.pl
9191
clean:
9292
rm -f $(MAPS)
9393

0 commit comments

Comments
 (0)