all: LTS.txt LTS.jp.txt

LTS.txt: LTS.esis ./bin/text.pl
	./bin/text.pl e < LTS.esis > LTS.txt

LTS.jp.txt: LTS.esis ./bin/text.pl
	./bin/text.pl j < LTS.esis > LTS.jp.txt

LTS.esis: dtd/LTS
	sgmls dtd/LTS.dtd dtd/LTS | nkf -s > LTS.esis

clean:
	rm -f LTS.esis *~ *.bak *.orig
