aboutsummaryrefslogtreecommitdiff
path: root/gnu-name-system-default-tlds/Makefile
blob: 01ad7d352fa20ade3bd6f89d0162d985e000ce98 (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
27
28
29
FILES=tlds.conf tlds.rst
all: check $(FILES)

check:
	recfix --check registry.rec

distclean:

	rm -f *.tmp
clean:
	rm -f $(FILES) *.tmp

tlds.conf.tmp: registry.rec tlds.template
	../format.sh tlds.template < registry.rec > $@

tlds.conf: tlds.header tlds.conf.tmp
	cat tlds.header tlds.conf.tmp > $@

tlds.rst.tmp: registry.rec rst.template
	../format.sh rst.template < registry.rec > $@

rst.header.tmp:
	cat README POLICY rst.header.template > $@

tlds.rst: rst.header.tmp tlds.rst.tmp
	cat rst.header.tmp tlds.rst.tmp > $@


.PHONY: check clean distclean