0858df6b88e372194b2a2cc5af25c64ddedfd344
[unifont.git] / font / plane01 / Makefile
1
2 #
3 # Create the Plane 1 unassigned.hex file, with filler glyphs.
4 # Create filler glyphs in areas where Unicode scripts are not assigned;
5 # these are placed in directory "all/" so they are not included with
6 # the main font build, which reads "plane01/*.hex".
7 #
8 all: plane01.hex plane01-nonprinting.hex plane01-unassigned.hex
9         if [ ! -d all ]; then \
10                 mkdir all; \
11         fi
12         grep "^[0-9A-Fa-f]" unassigned-ranges.txt | \
13            awk 'NF == 1 {print "../../bin/unihexgen " $$1 " " $$1;} \
14                 NF == 2 {print "../../bin/unihexgen " $$1 " " $$2;}' | \
15            /bin/sh -s > plane01-unassigned.hex
16         grep "^[0-9A-Fa-f]" noscript-ranges.txt | \
17            awk 'NF == 1 {print "../../bin/unihexgen " $$1 " " $$1;} \
18                 NF == 2 {print "../../bin/unihexgen " $$1 " " $$2;}' | \
19            /bin/sh -s > all/noscript.hex
20         sort -u all/noscript.hex *.hex > all/plane01-all.hex
21
22 clean:
23
24 distclean:
25         \rm -rf all
26
27 .PHONY: all clean distclean