-install: ${DATFILES}
- @if [ ! -d ${DESTDIR}/usr/share/games/fortune ]; then \
- /bin/rm -f ${DESTDIR}/usr/share/games/fortune ; \
- mkdir -p ${DESTDIR}/usr/share/games/fortune ; \
- chown root.wheel ${DESTDIR}/usr/share/games/fortune ; \
- chmod 755 ${DESTDIR}/usr/share/games/fortune ; \
- else \
- true ; \
- fi
- install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${DATFILES} \
+STRFILE!=cd $(.CURDIR)/../strfile; \
+ printf "xxx:\n\techo \$${.OBJDIR}/strfile\n" | ${MAKE} -r -s -f - xxx
+
+all: ${DATFILES}
+
+install:
+ install ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 ${DATFILES} \