"Fossies" - the Fresh Open Source Software Archive

Member "yudit-3.0.7/bin/Makefile" (6 Jun 2020, 1996 Bytes) of package /linux/misc/yudit-3.0.7.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "Makefile": 3.0.5_vs_3.0.7.

    1 all: 
    2 
    3 #
    4 # UNIDATA directory should have:
    5 # UnicodeData.txt
    6 # # Unihan.txt - obseleted eastasia wont be made
    7 # BidiMirroring.txt
    8 #
    9 VERSION=13.0.0
   10 UNIROOT=/home/gsinai/Documents/Unicode/ftp.unicode.org/$(VERSION)
   11 
   12 UNIDATA=$(UNIROOT)/ucd
   13 
   14 # This has been removed. Dont make eastasia
   15 MAPPINGS=$(UNIROOT)/MAPPINGS
   16 #
   17 # This is the target for unicode updates.
   18 #
   19 map: charclass bidiclass precompose mirror olditalic shape kmap
   20 
   21 restricted: gcategory shape mirror precompose olditalic jis2000
   22 
   23 charclass: $(UNIDATA)/UnicodeData.txt
   24 	perl charclass.pl $(VERSION) $< > ../mytool/mys/charclass.mys
   25 
   26 bidiclass: $(UNIDATA)/UnicodeData.txt
   27 	perl bidiclass.pl $(VERSION) $< > ../mytool/mys/bidiclass.mys
   28 
   29 precompose: $(UNIDATA)/UnicodeData.txt
   30 	perl precompose.pl $(VERSION) $< > ../mytool/mys/precompose.mys
   31 
   32 mirror: $(UNIDATA)/BidiMirroring.txt
   33 	perl mirroring.pl $(VERSION) $< > ../mytool/uni/mirroring.txt 
   34 
   35 olditalic: $(UNIDATA)/UnicodeData.txt
   36 	perl olditalic.pl $(VERSION) u $< > ../mytool/mys/OldItalic.mys
   37 
   38 shape: $(UNIDATA)/UnicodeData.txt
   39 	./shape.pl $(VERSION) $< > ../mytool/mys/shape.mys 2> /dev/null
   40 
   41 kmap: ../mytool/mys/shape.mys
   42 	./arabickmap.pl $< > ../mytool/kmap/ArabicTranslit.kmap 
   43 
   44 Emoji: Emoji.txt
   45 	./simplemys.pl $< > ../mytool/mys/Emoji.mys
   46 
   47 #
   48 # This will create eastasia - that is obsolete
   49 # JIS0201.TXT can not be calculated....
   50 #
   51 eastasia: $(UNIDATA)/Unihan.txt
   52 	cp  $(MAPPINGS)/OBSOLETE/EASTASIA/JIS/JIS0201.TXT  MAPPINGS
   53 	./eastasia.pl --dir MAPPINGS  $<
   54 
   55 # CP949.TXT stripped will make KSC5601.TXT - this has nothing
   56 # to do with KSC5601 but I will still keep it.
   57 # 
   58 korean:
   59 	wget http://jshin.net/faq/KSX1001.TXT.gz
   60 	wget http://jshin.net/faq/JOHAB.TXT.gz
   61 	gunzip KSX1001.TXT.gz
   62 	gunzip JOHAB.TXT.gz
   63 	mv KSX1001.TXT MAPPINGS
   64 	mv JOHAB.TXT MAPPINGS
   65 	perl -ne 'next if (/^0x[0-9A-Za-z]{2}[ \t]/);print;' $(MAPPINGS)/VENDORS/MICSFT/WINDOWS/CP949.TXT > MAPPINGS/KSC5601.TXT
   66 
   67 clean:
   68 	rm MAPPINGS/KSX1001.*
   69 	rm MAPPINGS/JOHAB.*
   70 
   71 veryclean:
   72 	rm MAPPINGS/KSX1001.*
   73 	rm MAPPINGS/JOHAB.*