Skip to content

Commit bd6cf3f

Browse files
committed
Add Unicode map generation scripts as rule prerequisites
That way, the rules will trigger when the scripts change.
1 parent cc074bf commit bd6cf3f

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

src/backend/utils/mb/Unicode/Makefile

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -68,29 +68,29 @@ GENERICTEXTS = $(ISO8859TEXTS) $(WINTEXTS) \
6868

6969
all: $(MAPS)
7070

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

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

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

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

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

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

89-
gb18030_to_utf8.map utf8_to_gb18030.map : gb-18030-2000.xml
90-
$(PERL) $(srcdir)/UCS_to_GB18030.pl
89+
gb18030_to_utf8.map utf8_to_gb18030.map: UCS_to_GB18030.pl gb-18030-2000.xml
90+
$(PERL) $<
9191

92-
big5_to_utf8.map utf8_to_big5.map : BIG5.TXT CP950.TXT
93-
$(PERL) $(srcdir)/UCS_to_BIG5.pl
92+
big5_to_utf8.map utf8_to_big5.map: UCS_to_BIG5.pl BIG5.TXT CP950.TXT
93+
$(PERL) $<
9494

9595
distclean: clean
9696
rm -f $(TEXTS)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy