cc53a35b544a21e93d075ac47ce7c22f3f1a5253
[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         set -e && \
13            grep "^[0-9A-Fa-f]" unassigned-ranges.txt | \
14            awk 'NF == 1 {print "../../bin/unihexgen " $$1 " " $$1;} \
15                 NF == 2 {print "../../bin/unihexgen " $$1 " " $$2;}' | \
16            /bin/sh -s > plane01-unassigned.hex
17         set -e && \
18            grep "^[0-9A-Fa-f]" noscript-ranges.txt | \
19            awk 'NF == 1 {print "../../bin/unihexgen " $$1 " " $$1;} \
20                 NF == 2 {print "../../bin/unihexgen " $$1 " " $$2;}' | \
21            /bin/sh -s > all/noscript.hex
22         sort -u all/noscript.hex *.hex > all/plane01-all.hex
23
24 clean:
25
26 distclean:
27         \rm -rf all
28
29 .PHONY: all clean distclean