summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 7 insertions, 6 deletions
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