summary refs log tree commit diff
path: root/etc/psf/Makefile
blob: edbaf1204bf7dd71b73013ed169a293239181c70 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
TABLE = default.u

FONTS += sans6x8.psfu
FONTS += sans6x10.psfu
FONTS += sans6x12.psfu
FONTS += sans8x16.psfu
FONTS += serif8x16.psfu

PNGS = $(FONTS:psfu=png)

all: $(FONTS)

png: $(PNGS)

$(FONTS): $(TABLE)

.SUFFIXES: .psf .psfu .png

.psf.psfu:
	psfaddtable $< $(TABLE) $@

.psf.png:
	psf2png $< > $@

clean:
	rm -f $(FONTS) $(PNGS)
highlight'> We already have a global cgit_version which is set from the #define'd CGIT_VERSION in cgit.c. Change ui-patch.c to use this so that we only need to rebuild cgit.o when the version changes. Signed-off-by: John Keeping <john@keeping.me.uk> 2013-03-20Makefile: re-use Git's Makefile where possibleJohn Keeping