freebsd-dev/gnu/usr.bin/man/catman/Makefile

27 lines
573 B
Makefile
Raw Normal View History

FILES= catman
NOMAN= noman
1993-07-23 02:36:24 +00:00
CLEANFILES+= ${FILES}
1993-07-23 02:36:24 +00:00
all: ${FILES}
# XXX null suffixes are currently broken
# .SUFFIXES:
# .SUFFIXES: .sh
# .sh:
# sed -e 's,%compress%,${compress},' \
# -e 's,%compext%,${compext},' \
# -e 's,%zcat%,${zcat},' \
# ${.IMPSRC} > ${.TARGET}
catman: catman.sh
sed -e 's,%compress%,${compress},' \
-e 's,%compext%,${compext},' \
-e 's,%zcat%,${zcat},' \
${.CURDIR}/${.TARGET}.sh > ${.TARGET}
install:
install -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
${FILES} ${DESTDIR}${BINDIR}
.include <bsd.prog.mk>