File: Makefile

package info (click to toggle)
xfonts-a12k12 1-12
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 1,068 kB
  • ctags: 5
  • sloc: makefile: 58; sh: 22
file content (25 lines) | stat: -rw-r--r-- 393 bytes parent folder | download | duplicates (4)
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
# Makefile
#
#
DESTDIR=
FONTDIR=/usr/share/fonts/X11/misc/
fonts = a12 k12
bdfgz = $(patsubst %,%.bdf, $(fonts))
pcfgz = $(patsubst %,%.pcf.gz, $(fonts))

%.pcf.gz: %.bdf.gz
	gunzip < $< | bdftopcf | gzip -9 > $@

%.pcf.gz: %.bdf
	cat $< | bdftopcf | gzip -9 > $@

all: $(pcfgz)

install:
	for i in $(pcfgz); \
	do \
	 install -m 644 $$i $(DESTDIR)$(FONTDIR); \
	done

clean:
	-rm -f *.pcf.gz