diff options
-rw-r--r-- | Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -1,14 +1,16 @@ PREFIX = /usr +.SUFFIXES: .htm .jargon .sed .dict .dz + SRC = 1.htm 2.htm 3.htm 4.htm 5.htm \ 6.htm 7.htm 8.htm 9.htm 10.htm JARGONS = $(SRC:.htm=.jargon) +all: oed.jargon oed.dict.dz + $(JARGONS): htmtojargon.awk removeetags.pl symbols.sed \ xmlcleanup.sed xmlcleanup2.sed -all: oed.jargon oed.dict.dz - .htm.jargon: iconv -f ISO-8859-1 -t UTF-8 < "$<" \ | sed 's/\r//g' \ @@ -26,7 +28,7 @@ oed.jargon: $(JARGONS) cat $(JARGONS) > $@ oed.dict: oed.jargon - cat $< \ + cat oed.jargon \ | dictfmt -j --utf8 \ --columns 0 --headword-separator ',' \ --index-data-separator " " \ @@ -35,7 +37,7 @@ oed.dict: oed.jargon oed oed.dict.dz: oed.dict - dictzip -k $< + dictzip -k oed.dict install: all chmod 644 oed.dict.dz oed.index @@ -43,5 +45,4 @@ install: all test -x /usr/sbin/dictdconfig && dictdconfig -w test -x /etc/init.d/dictd && /etc/init.d/dictd restart -.SUFFIXES: .htm .jargon .sed .dict .dz .PHONY: all install |