Makefile (560B)
1 FILES=tlds.conf tlds.rst 2 all: check $(FILES) 3 4 check: 5 recfix --check registry.rec 6 7 distclean: 8 9 rm -f *.tmp 10 clean: 11 rm -f $(FILES) *.tmp 12 13 tlds.conf.tmp: registry.rec tlds.template 14 ../format.sh tlds.template < registry.rec > $@ 15 16 tlds.conf: tlds.header tlds.conf.tmp 17 cat tlds.header tlds.conf.tmp > $@ 18 19 tlds.rst.tmp: registry.rec rst.template 20 ../format.sh rst.template < registry.rec > $@ 21 22 rst.header.tmp: 23 cat README POLICY rst.header.template > $@ 24 25 tlds.rst: rst.header.tmp tlds.rst.tmp 26 cat rst.header.tmp tlds.rst.tmp > $@ 27 28 29 .PHONY: check clean distclean