-FILES= hlista hlistb hstop hlist american british connectives \
- propernames stop README words web2 web2a
-install: ${MAN}
- -[ -d ${DIR}/special ] || mkdir ${DIR}/special
- install -s -o bin -g bin -m 755 spell ${DESTDIR}/usr/libexec/spell
- install -s -o bin -g bin -m 755 spellin ${DESTDIR}/usr/libexec/spellin
- install -s -o bin -g bin -m 755 spellout ${DESTDIR}/usr/libexec/spellout
- install -c -o bin -g bin -m 755 spell.sh ${DESTDIR}/usr/bin/spell
- install -c -o bin -g bin -m 444 ${FILES} ${DIR}
- install -c -o bin -g bin -m 444 special.4bsd ${DIR}/special/4bsd
- install -c -o bin -g bin -m 444 special.math ${DIR}/special/math
- install -c -o bin -g bin -m 444 ${MAN} ${DESTDIR}/usr/man/cat1
- cp -p -r papers ${DIR}; chmod 755 ${DIR}/papers/runinv
- rm -f ${DESTDIR}/usr/man/cat1/spellin.0
- rm -f ${DESTDIR}/usr/man/cat1/spellout.0
- ln ${DESTDIR}/usr/man/cat1/spell.0 ${DESTDIR}/usr/man/cat1/spellin.0
- ln ${DESTDIR}/usr/man/cat1/spell.0 ${DESTDIR}/usr/man/cat1/spellout.0
+FILES1= hlist hlista hlistb hstop
+FILES2=american british connectives propernames stop README words web2 web2a
+
+install: maninstall
+ install ${STRIP} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
+ spell spellin spellout ${DESTDIR}/usr/libexec
+ install -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
+ ${.CURDIR}/spell.sh ${DESTDIR}/usr/bin/spell
+ install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${FILES1} ${DIR}
+ cd ${.CURDIR}; install -c -o ${BINOWN} -g ${BINGRP} -m 444 \
+ ${FILES2} ${DIR}
+ install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/special.4bsd \
+ ${DIR}/special/4bsd
+ install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/special.math \
+ ${DIR}/special/math
+ cp -p -r ${.CURDIR}/papers ${DIR}