File: Makefile

package info (click to toggle)
translitcodec 0.7.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 336 kB
  • sloc: python: 2,600; perl: 182; makefile: 33; sh: 5
file content (36 lines) | stat: -rwxr-xr-x 983 bytes parent folder | download | duplicates (11)
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
27
28
29
30
31
32
33
34
35
36
TARGETS=transtab transtab.repertoire transtab.missing-MES-2 transtab.changes

all: $(TARGETS)

# transtab.utf is the file that should be edited

transtab: transtab.utf
	format=iso    ./transcomp $< >$@
	format=isoutf ./transcomp transtab >transtab.utf

transtab.repertoire: transtab
	format=utf    ./transcomp transtab >$@

transtab.missing-MES-2: transtab.repertoire
	uniset + ../MES-2 - transtab.repertoire - 0000-007f clean table | \
	format=isoutf ./transcomp - >$@

transtab.missing-TARGET1: transtab.repertoire
	uniset + ../../font/ucs-fonts/TARGET1 - transtab.repertoire \
	- 0000-007f clean table | \
	format=isoutf ./transcomp - >$@

transtab.changes: transtab.utf
	rlog $< >$@

distribution: $(TARGETS)
	ci -l transtab.utf
	cd .. ; tar cvf transtab.tar \
	transtab/README transtab/REFERENCES transtab/Makefile \
	transtab/transcomp \
	transtab/transtab.utf $(TARGETS:%=transtab/%) ; \
	gzip -9f transtab.tar ; \
	mv transtab.tar.gz $(HOME)/.www/download/

clean:
	rm -f *~