1994-11-14 05:57:36 +00:00
|
|
|
FILES= catman
|
1994-03-05 13:48:38 +00:00
|
|
|
NOMAN= noman
|
1993-07-23 02:36:24 +00:00
|
|
|
|
1994-11-14 05:57:36 +00:00
|
|
|
CLEANFILES+= ${FILES}
|
1993-07-23 02:36:24 +00:00
|
|
|
|
1994-11-14 05:57:36 +00:00
|
|
|
all: ${FILES}
|
1994-03-05 13:48:38 +00:00
|
|
|
|
1994-11-14 05:57:36 +00:00
|
|
|
# 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}
|
1994-03-05 13:48:38 +00:00
|
|
|
catman: catman.sh
|
|
|
|
sed -e 's,%compress%,${compress},' \
|
1994-11-14 05:57:36 +00:00
|
|
|
-e 's,%compext%,${compext},' \
|
|
|
|
-e 's,%zcat%,${zcat},' \
|
|
|
|
${.CURDIR}/${.TARGET}.sh > ${.TARGET}
|
1994-03-05 13:48:38 +00:00
|
|
|
|
1994-11-14 05:57:36 +00:00
|
|
|
install:
|
|
|
|
install -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
|
|
|
|
${FILES} ${DESTDIR}${BINDIR}
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|