1 |
## TO UPDATE: make all release-update distclean |
## TO UPDATE: make all release-update distclean |
2 |
|
|
3 |
CD = cd |
CD = cd |
4 |
|
CAT = cat |
5 |
MKDIR = mkdir |
MKDIR = mkdir |
6 |
MAKE = make |
MAKE = make |
7 |
RM = rm |
RM = rm |
47 |
UCM_FILES = $(GENERATED_TBR_FILES:.tbr=.ucm) |
UCM_FILES = $(GENERATED_TBR_FILES:.tbr=.ucm) |
48 |
|
|
49 |
ENCODE_DIRECTORIES = \ |
ENCODE_DIRECTORIES = \ |
50 |
GLJIS1978 GLJIS1983 GLJIS1997 GLJIS1997Swapped EUCJP1997 ShiftJIS1997 |
GLJIS1978 GLJIS1983 GLJIS1997 GLJIS1997Swapped EUCJP1997 ShiftJIS1997 \ |
51 |
|
EUCJP1997OPENNEC EUCJPSW |
52 |
|
|
53 |
GENERATED_FILES = $(PM_FILES) |
GENERATED_FILES = $(PM_FILES) |
54 |
|
|
372 |
.euc-jp-1997-gr-left.tbr.tmp $(TBR2TBL_PL) |
.euc-jp-1997-gr-left.tbr.tmp $(TBR2TBL_PL) |
373 |
$(TBR2TBL) $< > $@ |
$(TBR2TBL) $< > $@ |
374 |
|
|
375 |
|
euc-jp-1997-open-nec.tbl: |
376 |
|
$(WGET) -O $@.tmp http://suika.fam.cx/gate/cvs/*checkout*/char/table/eucjp/euc-jp-1997-open-nec.tbl |
377 |
|
$(ECHO) '#?PETBL/1.0 SOURCE' > $@ |
378 |
|
$(ECHO) '#?o name="euc-jp-1997-open-nec"' >> $@ |
379 |
|
$(ECHO) '#?o <-ucs-substition="0x30FB"' >> $@ |
380 |
|
$(ECHO) '#?o ucm:mb_cur_max="3"' >> $@ |
381 |
|
$(CAT) $@.tmp >> $@ |
382 |
|
$(RM) $@.tmp |
383 |
|
|
384 |
|
euc-jp-sw.tbl: |
385 |
|
$(WGET) -O $@.tmp http://suika.fam.cx/gate/cvs/*checkout*/char/table/eucjp/euc-jp-sw.tbl |
386 |
|
$(ECHO) '#?PETBL/1.0 SOURCE' > $@ |
387 |
|
$(ECHO) '#?o name="euc-jp-sw"' >> $@ |
388 |
|
$(ECHO) '#?o <-ucs-substition="0x30FB"' >> $@ |
389 |
|
$(ECHO) '#?o ucm:mb_cur_max="3"' >> $@ |
390 |
|
$(CAT) $@.tmp >> $@ |
391 |
|
$(RM) $@.tmp |
392 |
|
|
393 |
shift-jis-1997.tbl: %.tbl: %.tbr $(TBR2TBL_PL) |
shift-jis-1997.tbl: %.tbl: %.tbr $(TBR2TBL_PL) |
394 |
$(TBR2TBL) $< > $@ |
$(TBR2TBL) $< > $@ |
395 |
|
|
418 |
$(CD) $@ && $(PERL_) -i -p -e 's/"0\.01"/"0.02"/' $@.pm |
$(CD) $@ && $(PERL_) -i -p -e 's/"0\.01"/"0.02"/' $@.pm |
419 |
$(CD) $@ && $(PERL_) ./Makefile.PL |
$(CD) $@ && $(PERL_) ./Makefile.PL |
420 |
$(CD) $@ && $(MAKE) manifest dist |
$(CD) $@ && $(MAKE) manifest dist |
421 |
|
EUCJP1997OPENNEC: euc-jp-1997-open-nec.ucm |
422 |
|
$(MKDIR) -p $@ |
423 |
|
$(CP) $< $@/$< |
424 |
|
$(CD) $@ && $(ENC2XS) -M $@ $< |
425 |
|
$(CD) $@ && $(PERL_) ./Makefile.PL |
426 |
|
$(CD) $@ && $(MAKE) manifest dist |
427 |
|
EUCJPSW: euc-jp-sw.ucm |
428 |
|
$(MKDIR) -p $@ |
429 |
|
$(CP) $< $@/$< |
430 |
|
$(CD) $@ && $(ENC2XS) -M $@ $< |
431 |
|
$(CD) $@ && $(PERL_) ./Makefile.PL |
432 |
|
$(CD) $@ && $(MAKE) manifest dist |
433 |
ShiftJIS1997: shift-jis-1997.ucm |
ShiftJIS1997: shift-jis-1997.ucm |
434 |
$(MKDIR) -p $@ |
$(MKDIR) -p $@ |
435 |
$(CP) $< $@/$< |
$(CP) $< $@/$< |
443 |
$(MV) GLJIS1997/Encode-GLJIS1997-0.01.tar.gz ./ |
$(MV) GLJIS1997/Encode-GLJIS1997-0.01.tar.gz ./ |
444 |
$(MV) GLJIS1997Swapped/Encode-GLJIS1997Swapped-0.01.tar.gz ./ |
$(MV) GLJIS1997Swapped/Encode-GLJIS1997Swapped-0.01.tar.gz ./ |
445 |
$(MV) EUCJP1997/Encode-EUCJP1997-0.02.tar.gz ./ |
$(MV) EUCJP1997/Encode-EUCJP1997-0.02.tar.gz ./ |
446 |
|
$(MV) EUCJP1997/Encode-EUCJP1997OPENNEC-0.01.tar.gz ./ |
447 |
|
$(MV) EUCJP1997/Encode-EUCJPSW-0.01.tar.gz ./ |
448 |
$(MV) ShiftJIS1997/Encode-ShiftJIS1997-0.01.tar.gz ./ |
$(MV) ShiftJIS1997/Encode-ShiftJIS1997-0.01.tar.gz ./ |
449 |
|
|
450 |
clean-GLJIS1978 clean-GLJIS1983 clean-GLJIS1997 clean-GLJIS1997Swapped \ |
clean-GLJIS1978 clean-GLJIS1983 clean-GLJIS1997 clean-GLJIS1997Swapped \ |
451 |
clean-EUCJP1997 clean-ShiftJIS1997: clean-%: % |
clean-EUCJP1997 clean-EUCJP1997OPENNEC clean-EUCJPSW \ |
452 |
|
clean-ShiftJIS1997: clean-%: % |
453 |
$(CD) $< && $(MAKE) clean |
$(CD) $< && $(MAKE) clean |
454 |
|
|
455 |
clean: clean-GLJIS1978 clean-GLJIS1983 clean-GLJIS1997 \ |
clean: clean-GLJIS1978 clean-GLJIS1983 clean-GLJIS1997 \ |
456 |
clean-GLJIS1997Swapped \ |
clean-GLJIS1997Swapped \ |
457 |
clean-EUCJP1997 clean-ShiftJIS1997 |
clean-EUCJP1997 clean-EUCJP1997OPENNEC clean-EUCJPSW clean-ShiftJIS1997 |
458 |
$(RMALL) $(GENERATED_FILES) |
$(RMALL) $(GENERATED_FILES) |
459 |
$(RMALL) .*.tmp *~ .*~ *.BAK .*.BAK |
$(RMALL) .*.tmp *~ .*~ *.BAK .*.BAK |
460 |
$(RMALL) $(TBR2TBL_PL) $(TBL2UCM_PL) |
$(RMALL) $(TBR2TBL_PL) $(TBL2UCM_PL) |