unifont
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[unifont] [PATCH] Fix build failures with parallel make jobs


From: Mike Gilbert
Subject: [unifont] [PATCH] Fix build failures with parallel make jobs
Date: Sat, 8 Jul 2017 15:44:07 -0400

---
 Makefile      | 4 ++--
 font/Makefile | 8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/Makefile b/Makefile
index 4378c3c..4bad304 100644
--- a/Makefile
+++ b/Makefile
@@ -80,7 +80,7 @@ bindir:
 # Conditionally build the font, depending on the value of BUILDFONT.
 # To build the font unconditionally, use the "fontdir" target below.
 #
-buildfont:
+buildfont: bindir
        if [ x$(BUILDFONT) != x ] ; \
         then \
            set -e && $(MAKE) -C font ; \
@@ -108,7 +108,7 @@ precompiled:
 # Create lib/wchardata.c.  If you want to also build the object file
 # wchardata.o, uncomment the last line
 #
-lib/wchardata.c: $(HEXWIDTH) $(ZEROWIDTH)
+lib/wchardata.c: $(HEXWIDTH) $(ZEROWIDTH) bindir
        $(INSTALL) -m0755 -d lib
        sort $(HEXWIDTH) > unifonttemp.hex
        sort $(ZEROWIDTH) > combiningtemp.txt
diff --git a/font/Makefile b/font/Makefile
index 36dbe45..0b4acae 100644
--- a/font/Makefile
+++ b/font/Makefile
@@ -384,7 +384,7 @@ bmp: hex $(BINDIR)/unihex2bmp
 # The CSUR glyphs are optional, appearing in the unifont_csur font
 # files rather than the main unifont font files.
 #
-bigpic: $(COMPILED_DIR)/unifont_sample-$(VERSION).hex
+bigpic: hex
        cat $(HEXDIR)/*.hex plane00csur/*.hex | \
           $(BINDIR)/unifontpic -d120 > $(COMPILED_DIR)/unifont-$(VERSION).bmp
 
@@ -395,7 +395,7 @@ bigpic: $(COMPILED_DIR)/unifont_sample-$(VERSION).hex
 # and it is created from merging "[0-F].sfd", which take up another 100 MB.
 #
 
-ttf:
+ttf: hex
        # First, copy the ordinary version, to make a TrueType font.
        install -p \
                $(COMPILED_DIR)/unifont-$(VERSION).hex \
@@ -422,7 +422,7 @@ ttf:
 #
 # Now build the ConScript Unicode Registry PUA font.
 #
-csurttf:
+csurttf: hex
        install -p \
                $(COMPILED_DIR)/unifont_csur-$(VERSION).hex \
                $(TTFSRC)/unifont_csur.hex
@@ -442,7 +442,7 @@ csurttf:
 #
 # Now build the ConScript Unicode Registry PUA font.
 #
-upperttf:
+upperttf: hex
        # First, copy the ordinary version, to make a TrueType font.
        install -p \
                $(COMPILED_DIR)/unifont_upper-$(VERSION).hex \
-- 
2.13.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]