aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 7a0092033586efdbf9aaed1c7c7e5f93d27a5b7d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
PROJECT=ttf-console-fonts
PSFDIR=/usr/share/kbd/consolefonts

.PHONY: all clean install push tarball

all: .done

.done: conv.sh fonts ttf2psfu.sh
	sh conv.sh
	touch .done

clean:
	rm -f *.psfu *.psfu.gz *.log *.bdf .done

install: all
	mkdir -p $(DESTDIR)$(PSFDIR)
	install -m0644 *.psfu.gz $(DESTDIR)$(PSFDIR)

push: clean
	git push

tarball: push
	sh mktarball.sh $(PROJECT)