-install:
- @install -d -o root -g wheel -m 755 ${DESTDIR}/usr/share/games/fortune
- install ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 ${DATFILES} \
- ${DESTDIR}/usr/share/games/fortune
- (cd ${.CURDIR} && install -c -o ${BINOWN} -g ${BINGRP} -m 444 \
- ${NORMDAT:R} ${DESTDIR}/usr/share/games/fortune)
+CLEANFILES+=${BLDS}
+
+STRFILE!=cd $(.CURDIR)/../strfile; \
+ printf "xxx:\n\techo \$${.OBJDIR}/strfile\n" | \
+ ${MAKE} -r -s -f - xxx | grep strfile
+
+all: ${BLDS}
+
+install: ${SRCS} ${BLDS}