# The word lists may be extended by adding local words.
# The set of files containing words to be added are defined
# by LOCAL below. By default we add commands and library
# function names defined in /usr/man/man[1238n].
all: spell hlist hlista hlistb hstop spellin spellout
install -s spell
$(DESTDIR
)/usr
/lib
install -s spellin
${DESTDIR}/usr
/bin
install -s spellout
${DESTDIR}/usr
/bin
install -c spell.sh
$(DESTDIR
)/usr
/bin
/spell
install -m
444 -c hlista
$(DESTDIR
)/usr
/dict
install -m
444 -c hlistb
$(DESTDIR
)/usr
/dict
install -m
444 -c hstop
$(DESTDIR
)/usr
/dict
install -m
444 -c
words $(DESTDIR
)/usr
/dict
install -m
444 -c american
$(DESTDIR
)/usr
/dict
install -m
444 -c british
$(DESTDIR
)/usr
/dict
install -m
444 -c stop
$(DESTDIR
)/usr
/dict
install -m
444 -c README
$(DESTDIR
)/usr
/dict
-mkdir
$(DESTDIR
)/usr
/dict
/special
install -m
444 -c special
.4bsd
$(DESTDIR
)/usr
/dict
/special
/4bsd
install -m
444 -c special.math
$(DESTDIR
)/usr
/dict
/special
/math
rm -f
*.o spell spellin hlista hlistb hlist hstop spellout
cc spellout.o
-o spellout
hlist
: /usr
/dict
/words spellin
hlista
: american
$(LOCAL
) hlist spellin
(cat american
$(LOCAL
))|spellin hlist
>hlista
hlistb
: british
$(LOCAL
) hlist spellin
(cat british
$(LOCAL
))|spellin hlist
>hlistb