tools: specify only font files to keep after building
authorMischa POSLAWSKY <perl@shiar.org>
Thu, 27 Apr 2017 01:45:29 +0000 (03:45 +0200)
committerMischa POSLAWSKY <perl@shiar.org>
Mon, 17 Jul 2017 15:13:42 +0000 (17:13 +0200)
Target intermediate ttf files as intended
to reallow cleanup for everything else.

Makefile

index 9746c96..a2b2846 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -60,7 +60,7 @@ data/xcolors:
 data/termcol-xcolor.inc.pl: tools/mktermcol-xcolor data/xcolors/themes
        $(call cmdsave,$^/*)
 
-.SECONDARY:
+.SECONDARY: data/font/%.ttf
 data/font/%.ttf:
        find /usr/share/fonts/truetype/ ~/.fonts/ -iname "$(@F)" | head -1 | xargs -i ln -sf {} $@
 data/font/%.win2k.ttf: