File: Makefile.diff

package info (click to toggle)
xfonts-efont-unicode 0.4.2-11
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 12,572 kB
  • sloc: perl: 1,272; makefile: 244; sh: 153
file content (19 lines) | stat: -rw-r--r-- 385 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
BDFFILES = h16.bdf f16.bdf \
	   h14.bdf f14.bdf \
	   h12.bdf f12.bdf \
	   h10.bdf f10.bdf

HEXFILES = $(BDFFILES:.bdf=.hex)

ADDFILES = $(HEXFILES:.hex=_add.hex)
ADDFILES += johab14.hex johab24.hex

all: $(ADDFILES)

%.hex: %.bdf
	tools/bdf2hex $< > $@
	touch -r $< $@
%_add.hex: %_source.hex %.hex
	head -1 $< > $@
	diff -u $^ | grep '^+....:' | sed 's/^.//' >> $@
	touch -r $< $@