From: Fabian Grünbichler Date: Thu, 2 Feb 2017 09:13:09 +0000 (+0100) Subject: build: use temp file for glyph.h X-Git-Url: https://git.proxmox.com/?p=vncterm.git;a=commitdiff_plain;h=d4dcc66ebcafe23296e291c806296cf58c48910a;ds=inline build: use temp file for glyph.h otherwise it gets truncated on failure, and make thinks it's there on the next run. Signed-off-by: Fabian Grünbichler --- diff --git a/Makefile b/Makefile index abb85a6..c5523fb 100644 --- a/Makefile +++ b/Makefile @@ -23,7 +23,8 @@ KEYSTORE=/home/dietmar/pve2-proxdev/proxmox-dev/comodo-for-java.keystore all: vncterm glyphs.h: genfont - ./genfont > glyphs.h + ./genfont > glyphs.h.tmp + mv glyphs.h.tmp glyphs.h genfont: genfont.c gcc -g -O2 -o $@ genfont.c -Wall -D_GNU_SOURCE -lz @@ -112,7 +113,7 @@ upload: ${DEB} .PHONY: clean clean: - rm -rf vncterm vncterm.1 vncterm_*.deb tigervnc *~ ${VNCDIR} vncterm-*.tar.gz + rm -rf vncterm vncterm.1 vncterm_*.deb tigervnc *~ ${VNCDIR} vncterm-*.tar.gz glyph.h.tmp .PHONY: distclean distclean: clean