/[suikacvs]/webroot/www/manakai-charlib/Makefile
Suika

Diff of /webroot/www/manakai-charlib/Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by wakaba, Sun Jul 29 05:18:33 2007 UTC revision 1.6 by wakaba, Sat Nov 8 06:59:37 2008 UTC
# Line 1  Line 1 
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
# Line 46  TBL_FILES = $(GENERATED_TBR_FILES:.tbr=. Line 47  TBL_FILES = $(GENERATED_TBR_FILES:.tbr=.
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    
# Line 370  euc-jp-1997.tbl: %.tbl: %.tbr \ Line 372  euc-jp-1997.tbl: %.tbl: %.tbr \
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    
# Line 395  EUCJP1997: euc-jp-1997.ucm Line 415  EUCJP1997: euc-jp-1997.ucm
415          $(MKDIR) -p $@          $(MKDIR) -p $@
416          $(CP) $< $@/$<          $(CP) $< $@/$<
417          $(CD) $@ && $(ENC2XS) -M $@ $<          $(CD) $@ && $(ENC2XS) -M $@ $<
418            $(CD) $@ && $(PERL_) -i -p -e 's/"0\.01"/"0.02"/' $@.pm
419            $(CD) $@ && $(PERL_) ./Makefile.PL
420            $(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          $(CD) $@ && $(PERL_) ./Makefile.PL
432          $(CD) $@ && $(MAKE) manifest dist          $(CD) $@ && $(MAKE) manifest dist
433  ShiftJIS1997: shift-jis-1997.ucm  ShiftJIS1997: shift-jis-1997.ucm
# Line 409  release-update: Line 442  release-update:
442          $(MV) GLJIS1983/Encode-GLJIS1983-0.01.tar.gz ./          $(MV) GLJIS1983/Encode-GLJIS1983-0.01.tar.gz ./
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.01.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)

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.6

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24