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 |
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 |
shift-jis-1997.tbl: %.tbl: %.tbr $(TBR2TBL_PL) |
shift-jis-1997.tbl: %.tbl: %.tbr $(TBR2TBL_PL) |
385 |
$(TBR2TBL) $< > $@ |
$(TBR2TBL) $< > $@ |
386 |
|
|
409 |
$(CD) $@ && $(PERL_) -i -p -e 's/"0\.01"/"0.02"/' $@.pm |
$(CD) $@ && $(PERL_) -i -p -e 's/"0\.01"/"0.02"/' $@.pm |
410 |
$(CD) $@ && $(PERL_) ./Makefile.PL |
$(CD) $@ && $(PERL_) ./Makefile.PL |
411 |
$(CD) $@ && $(MAKE) manifest dist |
$(CD) $@ && $(MAKE) manifest dist |
412 |
|
EUCJP1997OPENNEC: euc-jp-1997-open-nec.ucm |
413 |
|
$(MKDIR) -p $@ |
414 |
|
$(CP) $< $@/$< |
415 |
|
$(CD) $@ && $(ENC2XS) -M $@ $< |
416 |
|
$(CD) $@ && $(PERL_) ./Makefile.PL |
417 |
|
$(CD) $@ && $(MAKE) manifest dist |
418 |
ShiftJIS1997: shift-jis-1997.ucm |
ShiftJIS1997: shift-jis-1997.ucm |
419 |
$(MKDIR) -p $@ |
$(MKDIR) -p $@ |
420 |
$(CP) $< $@/$< |
$(CP) $< $@/$< |
428 |
$(MV) GLJIS1997/Encode-GLJIS1997-0.01.tar.gz ./ |
$(MV) GLJIS1997/Encode-GLJIS1997-0.01.tar.gz ./ |
429 |
$(MV) GLJIS1997Swapped/Encode-GLJIS1997Swapped-0.01.tar.gz ./ |
$(MV) GLJIS1997Swapped/Encode-GLJIS1997Swapped-0.01.tar.gz ./ |
430 |
$(MV) EUCJP1997/Encode-EUCJP1997-0.02.tar.gz ./ |
$(MV) EUCJP1997/Encode-EUCJP1997-0.02.tar.gz ./ |
431 |
|
$(MV) EUCJP1997/Encode-EUCJP1997OPENNEC-0.01.tar.gz ./ |
432 |
$(MV) ShiftJIS1997/Encode-ShiftJIS1997-0.01.tar.gz ./ |
$(MV) ShiftJIS1997/Encode-ShiftJIS1997-0.01.tar.gz ./ |
433 |
|
|
434 |
clean-GLJIS1978 clean-GLJIS1983 clean-GLJIS1997 clean-GLJIS1997Swapped \ |
clean-GLJIS1978 clean-GLJIS1983 clean-GLJIS1997 clean-GLJIS1997Swapped \ |
435 |
clean-EUCJP1997 clean-ShiftJIS1997: clean-%: % |
clean-EUCJP1997 clean-EUCJP1997OPENNEC clean-ShiftJIS1997: clean-%: % |
436 |
$(CD) $< && $(MAKE) clean |
$(CD) $< && $(MAKE) clean |
437 |
|
|
438 |
clean: clean-GLJIS1978 clean-GLJIS1983 clean-GLJIS1997 \ |
clean: clean-GLJIS1978 clean-GLJIS1983 clean-GLJIS1997 \ |
439 |
clean-GLJIS1997Swapped \ |
clean-GLJIS1997Swapped \ |
440 |
clean-EUCJP1997 clean-ShiftJIS1997 |
clean-EUCJP1997 clean-EUCJP1997OPENNEC clean-ShiftJIS1997 |
441 |
$(RMALL) $(GENERATED_FILES) |
$(RMALL) $(GENERATED_FILES) |
442 |
$(RMALL) .*.tmp *~ .*~ *.BAK .*.BAK |
$(RMALL) .*.tmp *~ .*~ *.BAK .*.BAK |
443 |
$(RMALL) $(TBR2TBL_PL) $(TBL2UCM_PL) |
$(RMALL) $(TBR2TBL_PL) $(TBL2UCM_PL) |