From b2572f6fa6dbe9e810cbdfcc96f50f04b2fc139c Mon Sep 17 00:00:00 2001 From: Nick White Date: Sun, 12 May 2013 18:29:42 +0100 Subject: Add README, make things a bit more general --- Makefile | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index ca485e4..4927483 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,3 @@ -# requires dictfmt and dictzip tools (from the package dictfmt) - PREFIX = /usr SRC = 1.htm 2.htm 3.htm 4.htm 5.htm \ @@ -8,7 +6,7 @@ JARGONS = $(SRC:.htm=.jargon) $(JARGONS): htmtojargon.awk symbols.sed xmlcleanup.sed xmlcleanup2.sed -all: oed.dict.dz +all: oed.jargon oed.dict.dz .htm.jargon: awk -f htmtojargon.awk < "$<" \ @@ -20,12 +18,15 @@ all: oed.dict.dz symbols.sed: symbols symbolstosed.awk awk -f symbolstosed.awk < symbols > $@ -oed.dict: $(JARGONS) - cat $(JARGONS) \ +oed.jargon: $(JARGONS) + cat $(JARGONS) > $@ + +oed.dict: oed.jargon + cat $< \ | dictfmt -j --utf8 \ --columns 0 --headword-separator ' ' \ -u http://njw.me.uk/oed \ - -s "Oxford English Dictionary Second Edition v3" \ + -s "Oxford English Dictionary, 2nd Edition" \ oed oed.dict.dz: oed.dict -- cgit v1.2.3